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,987
  • 11
  • 40
  • 50
Fabien Warniez
  • 2,731
  • 1
  • 21
  • 30

2 Answers2

0

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

Ibu
  • 42,752
  • 13
  • 76
  • 103
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,353
  • 16
  • 23