check php version used by laravel code example
Example 1: check laravel version
php artisan --version
Example 2: laravel check my laravel version
php artisan --version //enter in terminal
php artisan --version
php artisan --version //enter in terminal