Search

Showing 7 of 1,975 result(s)

/blog/2016/11/21/laravel-fluent-part-two-the-public-api#content-getkey-default--null

The get method will return the value associated with the provided $key . If the $key does not exist, the $default value will be returned (which is null by default). Retrieving values from a Fluent instance: The $default value is evaluated using...

/blog/2016/11/30/laravel-string-pluralization

Since Laravel's translator is build on top of Symfony's translator component, the syntax rules used by Symfony's pluralization system will work with Laravel. Pluralization translation lines follow the ISO 31-11 standard for numeric intervals, such...

/blog/2016/12/07/laravel-artisan-general-command-the-down-command

The down command is used to put the application into maintenance mode. It does this by creating a file named down in the framework storage path (which by default is storage/framework/ ). The following demonstrates the command's usage: php artisan...

/blog/2016/12/07/laravel-artisan-general-command-the-up-command

The up command is used to take an application out of maintenance mode. It does this by removing a file named down from the application's framework storage directory (by default this is storage/framework/ ). The following demonstrates the usage of...

/blog/2016/12/07/laravel-artisan-tinker-the-down-command

The down command is used to put the application into maintenance mode. It does this by creating a file named down in the framework storage path (which by default is storage/framework/ ). This command performs the same action as the php artisan...

/blog/2016/12/07/laravel-artisan-tinker-the-up-command

The up command is used to take an application out of maintenance mode. It does this by removing a file named down from the application's framework storage directory (by default this is storage/framework/ ). This command performs the same action as...