Showing 10 of 1,278 results.

Laravel 5: Accessing Validation Features With validator

The validator helper function is a versatile helper function. If no arguments are supplied to the validator function (all arguments are optional), the function will return a Illuminate\Contracts\Validation\Factory implementation instance (the...

Laravel Artisan Generator Command: The make:test Command

The make:test command can be used to quickly generate test files for your application. The command accepts a name argument that will be used as the name of the newly created file and generated class. Generated tests are stored in the tests/...

Laravel 5: Retrieving Elements from an Array With get

The get helper method will retrieve an item from the given $array using dot notation. This allows developers to retrieve items from the array at arbitrary depths quickly, without having to use PHP's array syntax.

Laravel 5.5 String Helper Method: title

This method will convert the given $value to look like a traditional print title. This method essentially will transform the entire $value to its lower cased equivalent and then uppercase the first character of each word it finds. This method may...

Laravel Artisan Route Command: The route:cache Command

The route:cache command is used to create a route cache file. This cache file will improve the performance of the route registration process. This command accepts no parameters or options. This command will be unable to cache any routes that use a...

Laravel 5 Fluent API: The Public API

The following sections will highlight the usage of the various public methods that the Fluent class provides. There are, however, some omissions in this section, namely the methods required to implement PHP's ArrayAccess interface. The examples...

Filter Search