It is highly recommended for all contributors to update this file whenever there's a major update in source code. Use this tool for easy editing or visit this page for comprehensive guide on markdown syntax.
This package consists of following three commands:
This utility calls one or more of the following commands, depending on the given parameters:
auth:clear-resetscache:clearconfig:cleardebugbar:clearroute:clearview:clearsession:clearlog:clear
It will call the commands if they are registered. All commands except last two are built in to Laravel or some other packages. Continue below to study about last two commands that are exposed by this package.
app:cleanup {--all} {--auth} {--cache} {--config} {--debugbar} {--route} {--view} {--session} {--log}php artisan app:clean
php artisan app:clean --view --cache
php artisan app:clean --allThis command is exposed by this package. It clears all the files from storage/framework/sessions folder.
session:clear
This command is also exposed by this package. It deletes all laravel*.log files from storage/logs folder.
log:clear
-
php artisan env:switch dev -
php artisan env:switch prod --force
Following are the approved items:
session:clearcommand deletes all files from sessions folder. However if session driver is different thanfilethan it won't work. It needs to work with other drivers as well, specially withredisdriver.
Add the suggestions in this wishlist. Only approved wishlist items can be moved to To-dos list:
- Item-1