Showing 10 of 1,278 results.

Laravel URL Helper Function: asset

…e https:// schema, otherwise it will have the http:// schema. The application URI used to generate the final URI is what was used to issue the request, and typically matches what appears in the browser's address bar. Assuming the application path...

Laravel 5: Generating URLs to Assets With asset

…nerate the final URI is what was used to issue the request, and typically matches what appears in the browser's address bar.The signature of the asset function is: 1 function asset ( 2 $ path , 3 $ secure = null 4 ) ;Assuming the application path...

Laravel URL Helper Function: secure_url

…Ls to a given $path . You can also supply additional data that will be added as a query string by supplying an argument for the $parameters parameter. The secure_url helper function internally returns the value of a call to the url (discussed in...

Laravel Helper Function: cookie

…ookie. The names of cookies must be unique. $value The value to be stored in the cookie. Cookie values can be a numeric value or a string and not more than 4KB in length. $minutes The number of minutes until the cookie expires. A "forever" cookie...

Laravel Collection Public API: implode

…ld combine each value. The following code example shows how to use the implode method in this context: 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 // Create a new collection instance. 6 $ collection = new Collection ( [ 7 [ ' name '...

Laravel 4: Getting User Input

No matter what application you're developing, or what platform you are developing on, it is a safe bet you need to get input from your users some how. Laravel 4 provides a really convenient way to do this using the Input facade. Let's look at a...

Laravel 5: Accessing the Logging Features With logger

The logger helper function can be used to retrieve the logger instance from the Service Container or as a convenient way to log debug messages within your Laravel application without having to inject any dependencies or include the...

Laravel Artisan Tinker: The trace Command

…the current call stack. By default, it shows the last 10 lines of the call stack, but this can be configured using the -n option: 1 >>> trace 2 0: Illuminate\Foundation\Console\TinkerCommand->fire() at n/a:n/a 3 1: call_user_func_array() at...

Filter Search