check laravel version in cmd using composer code example Example: check laravel version php artisan --version