New in the Laravel catalog - Vendor

I followed all the steps from the Laravel installation guide.

Using Composer, the project is successfully installed on the server and works like a charm.

During installation, Composer adds some dependencies to the vendor directory.

My question is: why are there so many dependencies for the Hello World project. I do not understand the need for directories. Here is the list:

  • Ben
  • classpreloader
  • composer
  • d11wtq
  • Filp
  • ircmaxell
  • jeremeamia
  • Laravel
  • Monologue
  • nesbot
  • nikic
  • paragonie
  • patches
  • phpseclib
  • predis
  • PSR
  • Stack
  • Swiftmailer
  • symphony

I come from the development of Zend. Therefore, in the supplier catalog, I expected only the Laravel framework, nothing more. Why do I need more than 4200 third-party script files.

Thanks for answering.

Charles

+4
1

Laravel , . , , - , Hello World, . Laravel , , . Arch Linux Ubuntu. Arch , . Ubuntu .

- .

composer show --tree Laravel, . , Laravel 5.4.18, 4 , .

  • Laravel/
  • Laravel/
  • fzaninotto/
  • PHPUnit/PHPUnit

, . phpunit Symfony - , , .

: 4 , , , .

+2

Source: https://habr.com/ru/post/1674587/


All Articles