Showing 10 of 2,142 results.

Laravel Collection Public API: map

map(callable $callback) The map method applies a given $callback to each item in the collection. The $callback can modify the item which will be added to a new collection. The map method does not modify the original collection, but returns a new...

Laravel Helper Function: logger

logger($message = null, $context = []) The logger helper function is a versatile function. If the $message is null , which it is by default, the logger function will return an implementation of Illuminate\Contracts\Logging\Log , which by default...

Laravel Artisan Generator Command: The make:listener Command

The make:listener command is used to generate a new event listener class. A name must be supplied to the make:listener command; this value will be the name of the newly generated class. The command also defines one required option: event . The...

Registering Custom Validators | Validating Blade

It is not recommended to place custom validator implementations within the blade.validation.core_validators array. The core validators are initialized as singleton objects and have specific requirements for configuration. Instead, suppose you want...

Favicons and Web Manifest

Favicons are automatically generated for you when updating the " Globals > Site Settings > Favicon " field within the Control Panel. Tidal makes use of the Site Essentials for Statami c addon to generate and manage your site's favicons, as well as...

Tinker Commands | Laravel Artisan: The Tinker Command

Like the Artisan command-line application, Tinker provides many numerous commands and utilities that simplify the process of debugging and executing code from the command-line. The following table lists all the commands that Tinker provides (these...