8
mk3d
8y

I discover last week Eloquent ORM.
A php database abstraction layer.
How to make things quickly! Great tools!

Comments
  • 3
    It's a core part of Laravel - the only way to go when it comes to PHP MVC. Pure love right there 😁
  • 0
    I use Doctrine. What are the main differences?
  • 0
    @gummy i never used doctrine but i think eloquent comes with relationships and polymorphic relations built in. Takes like a minute to set up all the models and all the relationships you can think of.

    Also - it returns native laravel collections you can easily work with
  • 1
    @gummy dont@Skipp @Skipp yep but you can use it without laravel. I have wrote my own mvc framework, using twig, eloquent orm, and others open source components. Before, I use pdo and write all my models. Big work for "nothing".
  • 0
    @mk3d yea, i just got used to mvc frameworks from day one. Started with codeigniter and moved to laravel. I never looked back since :)
  • 1
    @gummy i just read about doctrine. It's also an orm, differences, don't know.
Add Comment