2

I really liked LINQ to Entities as well as the Entity Framework on my last project, I found it very easy to use and powerful, not to mention time-saving...

Now I have to work with PHP, is there something similar?

Features I am looking for are:

  • automatic class creation from DB Model
  • manipulate PHP objects in an SQL like fashion
  • translation of PHP code into SQL queries

Any insight is appreciated.

homework
  • 4,767
  • 10
  • 37
  • 50
Fabien Warniez
  • 2,712
  • 1
  • 20
  • 30

2 Answers2

0

Doctrine is pretty close to what you are looking for. It works very well with Symfony

Ibu
  • 41,298
  • 13
  • 73
  • 100
0

There are quite a few ORM solutions for PHP, most famous is probably Doctrine

I think you might find more info on this question: Good PHP ORM Library?

Also most php (MVC) frameworks come with some form of ORM bundled in.

Community
  • 1
  • 1
Dan F.
  • 1,343
  • 16
  • 22