Search

Showing 7 of 1,216 result(s)

/blog/2016/12/07/laravel-artisan-db-command-the-dbseed-command

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...

/blog/2016/12/07/laravel-artisan-event-command-the-eventgenerate-command

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...

/blog/2016/12/07/laravel-artisan-general-command-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-general-command-the-clear-resets-command

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...

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

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...

/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-env-command

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).