Search

Showing 7 of 2,041 result(s)

/blog/2016/12/07/laravel-artisan-tinker-the-clear-compiled-command

The clear-compiled command is used to clear the compiled classes and services application cache. These two files are located in the bootstrap/cache/ directory. The compiled classes cache is stored in a file named compiled.php and the services...

/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/2018/04/21/laravel-5-message-bags-determining-if-there-are-any-messages-with-any

The any method returns a boolean value indicating if the MessageBag instance actually has any messages. The method returns true if the instance has messages, otherwise it returns false .The signature of the any method is: public function any();The...

/social-media-image-kit/v1/generating-images

The primary method of generating images is using the generate-images Artisan command: 1 php artisan social-media-image-kit:generate-images This command will generate images for each collection that has been configured. During the process, you...

/blog/2017/12/06/laravel-5-string-helpers-replacing-the-last-occurrence-of-a-value#content-signature

The following examples highlight the basic usage of the replaceLast method. The results of the method call will appear above the call as a comment.

/blog/2018/04/14/laravel-5-generating-secure-urls-to-assets-with-secure_asset

The secure_asset function will return a URI composed of the application's URI and the given $path . It internally makes a call to the asset helper function and always passes true as the argument for the $secure parameter.

/blog/2018/04/21/laravel-5-facades#content-fake-1

The fake method will swap the currently bound queue manager instance with a fake; this is incredibly useful for testing purposes. The fake queue manager instance, by default, is an instance of "Illuminate\Support\Testing\Fakes\QueueFake".