Showing 7 of 1,216 result(s)
The db:seed command is used to add records to a database automatically using a Seeder ( Illuminate\Database\Seeder ) class to generate or provide the records. The db:seed defines three options: class , database and force . The class option can be...
The event:generate command is used to generate missing events and listeners based on the events that are registered in the applications EventServiceProvider (by default this service provider is located in the app/Providers/EventServiceProvider.php...
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...
The auth:clear-resets can be used to remove expired password reset tokens from the database. The command defines an optional name parameter which can be used which password broker will be used when removing the expired reset tokens (by default the...
The config:cache command can be used to create a cache file for the applications configuration files. This cache file will improve the performance when loading the configuration values. This command will first clear any existing configuration...
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...
The env command is used to simply return the name of the current framework environment. The environment name that is returned is set in the .env file (specifically whatever value is set for the APP_ENV entry).