Showing 10 of 2,055 results.

Laravel Artisan Tinker: The optimize Command

The optimize command optimizes various aspects to improve the performance of the Laravel application. The command provides two flags. The --force flag can be set to indicate that the compiled class file should be written (by default the compiled...

Executing a Command | Laravel Artisan: Interacting With Commands

…execute an Artisan command we first need to invoke the artisan console application. The console application is typically located in the root directory of the Laravel application and is named artisan . Some shells support invoking the application...

Laravel Artisan Tinker: The wtf Command

The wtf command is used to show details about the most recently thrown exception. When an exception is thrown, it is usually displayed in the console window with a red background stating that an exception has been thrown and the exception's...

Laravel: Available Hashing Methods

Even though Laravel only provides a Illuminate\Contracts\Hashing\Hasher implementation for the bcrypt function, there are many more hashing functions that are available to developers. The following functions are available through the use of PHP's...