- There are some command line clear cache in laravel as:
- Clear application cache: php artisan cache:clear
- Clear route cache: php artisan route:clear
- Clear config cache: php artisan config:cache
- Clear complied view files: php artisan view:cache
Ex: php artisan help view:clear
- In addition, we have some other command line :
php artisan cache:clear
or
type: php artisan tinker > Session::flush().
Some times, you use guide to flushing all sessions: php artisan key:generate
(If you know some other commands,please let me know by commenting below.Thank you for reading.)