3 ms·
I've looked at Laravel before, and I'm confused as to why Laravel is so tightly coupled internally. Unlike something like Silex, which uses dependency injection
by debacle 15y ago
I've looked at Laravel before, and I'm confused as to why Laravel is so tightly coupled internally. Unlike something like Silex, which uses dependency injection, I can't override the Route class in your application without rewriting a large chunk of the stack or replacing the file.
In addition, the idiom of static calls for everything seems strange. Why was that pattern (or anti-pattern) chosen above other, more OO options?