B
B
BonBon Slick2017-11-25 18:12:12
symfony
BonBon Slick, 2017-11-25 18:12:12

Is it necessary to install symfony/symfony?

I looked at what Laravel consists of
https://github.com/laravel/laravel/blob/master/com...
As you can see, at least the packages are clean and tidy, but if you go to Symfony....
https://github .com/symfony/symfony/blob/master/com...
We see that there are Symfony packages and others, then the current Symfony package rewrites them, collects them under its single package.
Now, if you install symfony/skeleton,
https://github.com/symfony/skeleton/blob/master/co...
We see just a couple of important packages.
However, many of the packages I wanted to install separately from symfony/symfony require the symfony/symfony package.
Something like this. Yes, and the installation and update take about 5 minutes only for this package. Although it does not have such packages as in Laravel, for creating and managing user authorization.
In general, at the moment I have about 60+ packages updated if I run composer update. I think with such a dependence, the likelihood of conflicts is high, or vice versa? So I'm not sure whether or not to use the symfony/symfony package.
I also noticed that there are sooo many people on github rewriting packages that by default go to symfony.
That is, the first time it loads the package through symfony, and then we load it again as a separate package. That is, we need to check every time whether this package is built in.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
padlyuck, 2017-11-26
@BonBonSlick

look at https://github.com/laravel/framework/blob/master/c... there is no less written than symphony. Specifically on the question in the title: in version 4 it is not necessary to install symfony/symfony proof https://medium.com/@fabpot/symfony-4-a-quick-demo-... Ctrl+F symfony/symfony

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question