сгруппировать как-нибудь провайдеры, чтобы было понятнее. Сейчас по названию провайдеров сходу и не поймёшь, что там к чему относится MiddlewareProvider (он же pipeline), psr17 (который привязан к nyholmовской реализации... не все помнят какой psr к чему относится ещё) и routerPrivider можно было бы в папку http засунуть Провайдеры на одну строчку можно было бы и в список провайдеров кложурой, если эти провайдеры вероятно не будут меняться (или без если)
For me it is honest that everyone sees where the configuration is either through the container or the services, it is easier for debugging than having the hidden configurations, just to make it look nice are my two cents.
сгруппировать как-нибудь провайдеры, чтобы было понятнее. Сейчас по названию провайдеров сходу и не поймёшь, что там к чему относится MiddlewareProvider (он же pipeline), psr17 (который привязан к nyholmовской реализации... не все помнят какой psr к чему относится ещё) и routerPrivider можно было бы в папку http засунуть Провайдеры на одну строчку можно было бы и в список провайдеров кложурой, если эти провайдеры вероятно не будут меняться (или без если)
For me it is honest that everyone sees where the configuration is either through the container or the services, it is easier for debugging than having the hidden configurations, just to make it look nice are my two cents.
Using providers from packages isn't hiding them. They're accessible by a single click in IDE same as now.
For me it is honest that everyone sees where the configuration is either through the container or the services, it is easier for debugging than having the hidden configurations, just to make it look nice are my two cents.
I also like current situation with explicit configuration of everything more than any other way. But I know a lot of php developers using yii2 who even don't know how to use xdebug for debugging, and the only thing they do while debugging is var_dump. It doesn't matter for them where and how everything is configured.