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