Support the ongoing development of Laravel.io →
posted 10 years ago
Installation
Last updated 2 years ago.
0

Try typing just "composer" if you get a list of available commands to see if it works.

Also after laravel/laravel you should specify a directory with a dot (.) meaning install in current directory or write a folder name which will be created.

composer create-project laravel/laravel MyProject --prefer-dist
Last updated 2 years ago.
0

If you're using Composer locally in your project, you want to use php composer.phar rather than composer. You can make composer available globally with mv composer.phar /usr/local/bin/composer, assuming you have /usr/local/bin in your $PATH.

Last updated 2 years ago.
0

You can also try using the full path to your composer.phar file.

/path/to/composer.phar create-project laravel/laravel MyProject --prefer-dist
Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

shiva shiva Joined 24 Jul 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.