doctrine/orm

Doctrine Object Relational Mapper (ORM)

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 57 minutes ago
Added to GitGenius on March 6th, 2026
Created on April 6th, 2010
Open Issues & Pull Requests: 1,304 (+0)
Number of forks: 2,540
Total Stargazers: 10,170 (+0)
Total Subscribers: 241 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 61.0 days
Mean response time: 798.2 days
90th percentile: 2943.8 days
Tracked items: 351

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 86% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "New Feature" is answered fastest, typically in about 8 weeks, while "Improvement" waits about 86 months. 74% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 4% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 271
New in 7 days: 1
Closed in 7 days: 3
Avg open age: 1,377 days
Stale 30+ days: 265
Stale 90+ days: 253

Recent activity

Opened in 7 days: 1
Closed in 7 days: 2
Comments in 7 days: 2
Events in 7 days: 4

Top labels

  • Bug (208)
  • Improvement (55)
  • New Feature (28)
  • Question (15)
  • Deprecation (7)
  • Missing Tests (7)
  • BC Break (6)
  • Invalid (6)

Detailed Description

Doctrine ORM is an object-relational mapper for PHP 8.1 and later that enables transparent persistence of PHP objects to relational databases. The project provides developers with a comprehensive abstraction layer built on top of Doctrine's database abstraction layer (DBAL), allowing objects to be seamlessly mapped to database tables and relationships without requiring manual SQL management for basic operations.

A defining feature of Doctrine ORM is its support for Doctrine Query Language (DQL), a proprietary object-oriented SQL dialect inspired by Hibernate's HQL. DQL allows developers to write database queries using object-oriented syntax rather than raw SQL, providing a powerful and flexible querying mechanism that maintains code clarity while reducing duplication. This approach bridges the gap between object-oriented programming and relational database operations.

The repository maintains active support across multiple version branches, with build status and code coverage tracking for versions 4.0.x, 3.7.x, 3.6.x, 2.21.x, and 2.20.x. This multi-version maintenance strategy ensures that users across different upgrade timelines can access bug fixes and improvements appropriate to their deployment versions.

The project's scope encompasses object persistence, entity mapping, database abstraction, and data management through DQL support. The repository is tagged with hacktoberfest, indicating openness to community contributions during that annual event.

This cross-pollination indicates that Doctrine ORM benefits from perspectives and practices developed in other significant open-source initiatives.

The project maintains comprehensive documentation and resources through its official website and dedicated documentation portal, supporting developers in implementing object-relational mapping patterns in their PHP applications. By providing transparent persistence mechanisms and a sophisticated query language, Doctrine ORM addresses the fundamental challenge of bridging object-oriented application code with relational database systems.