Doğan Uçar
Oct 25, 2023

--

Hey Samuel,

thanks for sharing your thoughts. It is always a good thing to have different views on things :)

Short answers to your points:

+ magic: while I agree every framework has magic at some point, I think Laravel has too much. For instance, injecting configuration in ServiceProviders can be done like:

$this->app->when(Foo::class)

->needs('$bar')

->giveTagged('foo_bar_config');

which addresses the magic + config from my post.

+ final removal: I respect your opinion but I strongly disagree that it is the choice of individuals. It is vendor code and shouldn't be touched. Your cron example is something totally different.

+ Laravel at all: as I say in my blog post, I respect the place of Laravel. But I wouldn't use it - neither in personal, nor in professional environments. The reason is in my post :)

Hope you understand my point better now :)

--

--

Doğan Uçar
Doğan Uçar

Written by Doğan Uçar

Software Engineer, PHP/Laminas (Zend), Backend, Cloud, Freelancer & CEO, Open Source Contributor

No responses yet