Showing 10 of 2,055 results.

Laravel Helper Function: info

…into Laravel's log files. It allows a $message to be set, as well as an optional $context (which is an array of data). While the $context must be an array, the actual elements of the array do not have to be arrays themselves. The following...

Laravel Router Helper Function: patch

patch($uri, $action) The patch function is a shortcut to registering a route with the router that responds to the PATCH HTTP verb. The $uri is the URI of the route, such as / or login . The $action is what will be executed by the router when the...

Configuring the Validate Command | The Validate Command

…his value to, false, to not run PHPStan or Larastan on the compiled output when, validate:blade, is invoked., ignore_directives, : Some core validators all you to exclude specific directive names from being validated. You can add directive names...

Laravel 5: Message Bags

…ibly simple to format messages on HTML forms, emails, etc. The MessageBag class implements both the Illuminate\Contracts\Support\MessageProvider and Illuminate\Contracts\Support\MessageBag interfaces.The MessageProvider interface defines only one...