artisan command to check version laravel code example Example 1: how to check laravel version in cmd $php artisan --version Example 2: check laravel version cmd laravel version