while file has laravel version number code example Example: laravel check my laravel version php artisan --version //enter in terminal