Is there a place to get the laurvel `vendor` folder in one place?

I understand that a composer is used for this, but I especially do not like it. It makes sense, but it annoys me that laravel5 github does not work out of the box, because the vendor directory is somewhat large and not necessarily laravel5, although this requires laravel.

It also puzzles me why the composer does not get it himself.

I expect I can

git clone the_laravel5_github_url

composer install

and be able to run, because it seemed like you could do it at a time , but for some reason the vendor directory is missing. I feel this makes it difficult to configure laravel as it is not so obvious.

Is there a place where someone can get the latest version of this? I find it disappointing that this is not mentioned in their readme and that you could have done this before and still cannot, despite using composer install .

+5
source share
2 answers
  • Install Composer on the OS using this command curl -sS https://getcomposer.org/installer | php curl -sS https://getcomposer.org/installer | php .
  • Move the composer.phar file to / usr / local / bin / with this command mv composer.phar /usr/local/bin/composer . This will allow you to access the composer around the world.
  • git clone your project.
  • Create a vendors folder in the root directory of your project.
  • cd to the root of your project and run composer update . This command will look for the suppliers folder in the root directory and install all the packages your project needs into it.

Happy coding

Thanks:)

+9
source

Use the composer installation in the same folder of your application. Try adding a composer. And install the composer worldwide in your OS.

0
source

All Articles