Showing 7 of 1,216 result(s)
The route:list command can be used to show a list of all the registered routes for the application. This command will display the domain, method, URI, name, action and middleware for the routes it includes in the generated table. The following...
The schedule:run command is used to run any commands that need to be ran. It is most often used in conjunction with a job or task scheduler utility, such as Cron. The command can be run in a one-off fashion like so: If there are no tasks that are...
The session:table command is used to create a new migration for the sessions database table. This table is required to use the database session driver. This command defines no parameters and can be used like so: php artisan session:table The...
The buffer command is useful when entering multi-line expressions. It can be used at any time to view the contents of the buffer when entering multi-line expressions without interrupting the expression input. The following example sessions...
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 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...
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). This command performs the same action...