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