Pretty much any big project in PHP will use a DI container.
@AhshDnxj-zu9di Жыл бұрын
Please can you make tutorial for creating a router that allow grouping and can also chain a middleware it will be very helpful
@this.channel Жыл бұрын
Yep, At some point a dev want's to know how the tool they are using actually works.
@phojie6868 Жыл бұрын
theme pls
Жыл бұрын
Material
@mabdullahsari Жыл бұрын
Honestly, PSR-11 shouldn't be used anymore. It's a dated standard which gets implemented by all mainstream container implementations in order to be "PSR compliant", but it already ends there. You can't use a Symfony container in Laravel and vice versa. The "FIG" part of PHP-FIG is not usable here, since most modern containers offer lot more than just getting and checking existence. PSR-18 on the other hand, is very useful when developing SDKs for example. Allows people to "bring their own http client" and lets people avoid the http client dependency bloat. I hope it gets superseded by a more modern version.