Showing 10 of 1,322 results.

Lambdas And Closures

When building our applications in Laravel, we often make use of the routing system. The most basic example of this is by using the Route facade, and then appending a HTTP verb, the URI and some weird function looking thing: 1 <?php 2 3 Route ::...

Laravel URL Helper Function: secure_url

secure_url($path, $parameters = []) The secure_url helper function can be used to generate secure, fully qualified URLs to a given $path . You can also supply additional data that will be added as a query string by supplying an argument for the...

Configuration Updates | Managing Projects and Versions

After a version has been created there are a few additional (and optional) configuration updates you might wish to make. config/social_media_image_kit/genera.php, : You may wish to add your new collection to the, collections, configuration item....

Calculating Averages Using Collections in Laravel

…in most cases the collections will be more complicated. For example, consider the following sample collection of products: 1 2 $ products = collect ( [ 3 [ ' name ' => ' Shiny New Tablet ' , ' price ' => 799 . 99 ] , 4 [ ' name ' => ' Not A...

Filter Search