Welcome to the Amazing PHP Channel! Here you can find a lot of interesting articles/news about PHP, frameworks, tools and development.
Support the channel: https://www.paypal.com/donate?hosted_button_id=FAYP5QJH5LVRL
Post #235
5.12K
How to turn Laravel from Static to Dependency Injection in one Day
A framework is just a tool. Each teaches you coding habits you need to use them effectively. Like Laravel gives you speed at prototyping with static "facades". But the applications grows, so does the team, so does your skill and you start to prefer constructor injection.
What then? Switch framework or rewrite? But what if all you need is to switch single pattern?
A framework is just a tool. Each teaches you coding habits you need to use them effectively. Like Laravel gives you speed at prototyping with static "facades". But the applications grows, so does the team, so does your skill and you start to prefer constructor injection.
What then? Switch framework or rewrite? But what if all you need is to switch single pattern?
