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