Another free chapter of my book Persistence in PHP with the Doctrine ORM is available on the Pack Website. In this second chapter of the book, you will:
- Create your ﬁrst Doctrine entity class
- Mapping it to its related database table and columns with annotations
- Use Doctrine Command Line Tools to automatically generate the database schema
- Create some ﬁxtures data
- deal with the Entity Manager
To get started with Doctrine entities, read this chapter on the PacktLib.