- Get the current Laravel version
$ php artisan --version
- If you want to clear the compiled classes
php artisan clear-compiled
- If you want to clear the application cache
php artisan cache:clear
$ php artisan --version
php artisan clear-compiled
php artisan cache:clear