Showing 10 of 1,090 results.

Laravel Artisan Tinker: The dump Command

The dump command can be used to display information about a particular variable or class instance within the console window. It will display the information using Symfony's VarDumper console component: 1 PHP Fatal error: Class 'User' not found in...

Example Use | Laravel 5: Generating URLs With url

…te \ Support \ Facades \ Url ; 2 3 // Using the URL facade. 4 Url :: action ( ' SomeController@someAction ' ) ; 5 6 // Calling the action method on the URL Generator. 7 url ( ) -> action ( ' SomeController@someAction ' ) ; 8 9 // Using the action...

Laravel 5: Setting Array or Object Values With data_set

The data_set helper function can be used to set the value of an item in an array or an object property using dot notation. It accepts a reference to a $target array or object; the $key (array key or object property name) of the data to set and the...

TechResources | The Statamic Add-on Roundup

The TechResources add-on is related to the BuildResources add-on. Many of the views (or pages) that can be seen on the Technology Resources section of the site are implemented as Laravel Blade templates. The reason this was done was to leverage...

RouteList | The Statamic Add-on Roundup

The RouteList is another add-on that is freely available to the Statamic community (you can read specific details about it at https://github.com/JohnathonKoster/statamic-route-list-command ). I am really comfortable developing applications with...

Laravel 5: Generating URLs to Named Routes With route

The route helper function can be used to generate URLs to a given named route. The route function defines four parameters, but only three are used internally ( $name , $parameters and $absolute ). It acts a shortcut to calling the...

Laravel 5: Resolving Authentication Policies With policy

The policy helper function can be used to retrieve a policy (a policy class can be any valid PHP class) instance for a given $class . The $class can be either a string or an object instance. If no policies for the given $class have been registered...

Filter Search