I am installing the Laravel framework in directory /var/html/www
, using command
php composer.phar global require "laravel/installer"
It changes installation directory automatically, shown message is:
Changed current directory to /home/.composer
What is the reason? Do I need to add any other command?
PHP 8.0. Laravel 9.x requires a minimum PHP version of 8.0.
Let use
composer create-project --prefer-dist laravel/laravel project_name "5.2.*"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With