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