Doctrine ORM for PHP

Free eBook “Doctrine ORM for PHP”. The Guide to Doctrine for PHP is the main source of documentation for the project.

It is a reference book that can be read from start to finish and provides dozens of practice exercises that can be executed by the user.


What is Doctrine?

Doctrine is an object relational mapper (ORM) for PHP 5.2.3+ that sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication.


  • Introduction
  • Getting Started
  • Introduction to Connections
  • Configuration
  • Connections
  • Introduction to Models
  • Defining Models
  • Working with Models
  • DQL (Doctrine Query Language)
  • Component Overview
  • Native SQL
  • YAML Schema Files
  • Data Validation
  • Data Hydrators
  • Inheritance
  • Behaviors
  • Searching
  • Hierarchical Data
  • Data Fixtures
  • Database Abstraction Layer
  • Transactions
  • Event Listeners
  • Caching
  • Migrations
  • Extensions
  • Utilities
  • Unit Testing
  • Improving Performance
  • Technology
  • Exceptions and Warnings
  • Real World Examples
  • Coding Standards

Book Details

Author(s): Jonathan H Wage, Roman Borschel and Guilherme Blanco.
Format(s): HTML
Number of pages: 552
Link: Read online.

Leave a Reply