Reputation: 417
I cloned project from https://github.com/victorfleite/blog-php-oop archived .
But how to create vendor
folder and install any dependency?
Upvotes: 27
Views: 109979
Reputation: 11
cd project_name
to go inside the folder and cd ..
to go back up out of the foldercomposer install
(if you need to install composer itself, see their official website)php artisan migrate
and run the projectUpvotes: 0
Reputation: 1
Go to your Project root directory where composer.json is located with opening a command prompt and using this commands :
make sure Your lock file contain a compatible set of packages with
running composer update
command
after that you can make sure all the packages are installed with composer install
command
you can find more packages with composer fund
command
Upvotes: 0
Reputation: 491
Just use command composer install
in command line (from same directory where composer.json is located). If you don't have an installed composer yet, first install it.
https://getcomposer.org/download/
Upvotes: 44