laravel 8 php version code example
Example 1: install laravel 5.8
composer create-project --prefer-dist laravel/laravel blog "5.8.*"
Example 2: laravel 8 php version requirements
PHP >= 7.3
BCMath PHP Extension
Ctype PHP Extension
Fileinfo PHP Extension
JSON PHP Extension
Mbstring PHP Extension
OpenSSL PHP Extension
PDO PHP Extension
Tokenizer PHP Extension
XML PHP Extension
Example 3: laravel 8 install
composer global require laravel/installer
Example 4: laravel new project
composer create-project --prefer-dist laravel/laravel:^7.0 blog
Example 5: insall laravel
composer global require laravel/installer
laravel new blog
Example 6: laravel instal
composer global require laravel/installer
laravel new example-app
php artisan serve