PHP equivalent of .Net Entity Framework

entity-framework php

Question

I like and I am so comfortable with EF provided by .Net wherein I can code first and database tables are generated by the framework itself etc. I am now coding a personal site using PHP. Is there any equivalent thing in PHP which will make my life easier. I cannot choose .Net for personal site. That answer is out :(.

1
20
10/28/2013 8:46:17 PM

Accepted Answer

With "Code-First" approach, Doctrine:

Article: Code First Approaching PHP with Doctrine 2.2.1 and Composer.

Official Website: http://www.doctrine-project.org/projects/orm.html

You can check also other popular PHP ORMs, but I'm not sure if you could do "code-first approach" as Doctrine:

http://propelorm.org/

http://redbeanphp.com/

10
5/10/2018 10:32:10 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow