install laravel
composer create-project --prefer-dist laravel/laravel blog "6.*"
install laravel
composer create-project --prefer-dist laravel/laravel blog "6.*"
laravel instal
composer global require laravel/installer
laravel new example-app
php artisan serve
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
i installed laravel 7.2.4 version but it shows php v 7.2
I've had this problem too. If you don't want to update all your composer
packages, you can solve this issue by manually changing the composer.lock file
and writing your actual PHP version in platform > php in the JSON object.
Example
...
"platform": {
"php": "7.1"
}
...
Although it works, the most recommended way to do this would be deleting your
composer.lock file, changing the platform > php version in composer.json and
then executing composer install
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us