@sirber Eloquent is based on magic methods, silent properties, mutable globals, and static methods. Those are all antipatterns.
Doctine feels over engineered, but it's actually testable. Eloquent screws you on testing, then tries to make you think it's OK by throwing more magic at it.
@sirber Right. How do you do that in Eloquent? It actively works against doing clean DI, and makes mocking impossible without going through their proprietary mocker.
@sirber Modern PHP is pretty sweet. I just wish people would stop using it through a terrible framework that avoids leveraging any of the features of modern PHP.
@sirber Pretty good overall, but does have a bit higher curve. If Laravel cribs from Ruby on Rails, Symfony is inspired by Java Spring Boot. When I want a major framework I usually go Symfony.
Add comment