The Doctrine Project is the home to several PHP libraries primarily focused on database storage and object mapping.
Followers
340
Total Stars
102,192
Packages
38
Monthly Downloads
118,585,536
Avg Score
30.8
Packages w/ Vulns
0
Recorded values over time (once-a-day snapshots). May 7, 2026 – Jun 5, 2026
Total stars
Monthly downloads
Followers
|
|
Description
|
|
30 days
GitHub star count over the last 30 days (daily snapshots).
|
|
|
License
|
|
|
|---|---|---|---|---|---|---|---|---|
| doctrine/inflector | Doctrine Inflector is a lightweight PHP library for common string transformations: convert words between singular and plural forms, and handle case changes. Useful for naming conventions in frameworks and tools where consistent word inflection is needed. | 11,352 |
-1
|
43.5 | 48.6 | MIT | 9 months ago | |
| doctrine/instantiator | Lightweight PHP library to instantiate objects without calling their constructors. Useful for hydrators, serializers, proxies, and testing/mocking. Part of the Doctrine ecosystem; creates instances via reflection while avoiding side effects and required constructor args. | 11,003 |
-8
|
43.5 | 44.3 | MIT | 4 months ago | |
| doctrine/orm | Doctrine ORM is an object-relational mapper for PHP 8.1+ providing transparent persistence for PHP objects on top of Doctrine DBAL. Includes Doctrine Query Language (DQL), an object-oriented SQL-like dialect for flexible querying without duplication. | 10,174 |
|
91.5 | 70.2 | MIT | 1 week ago | |
| doctrine/dbal | Doctrine DBAL is a powerful PHP database abstraction layer for working with multiple database platforms. Provides connections, query building, and rich schema introspection and management tools for migrations and database tooling. | 9,696 |
+2
|
86.1 | 72.0 | MIT | 2 months ago | |
| doctrine/cache | Doctrine Cache is a legacy cache component extracted from Doctrine Common, offering multiple cache drivers and interfaces used across Doctrine projects. Note: the library is deprecated and no longer maintained; prefer a PSR-6 or PSR-16 cache instead. | 7,868 |
-7
|
40.6 | 38.4 | MIT | 4 years ago | |
| doctrine/annotations | Doctrine Annotations parses and reads docblock annotations for PHP projects. Considered feature complete since PHP 8 attributes are the native replacement; this package now focuses on bugfixes and security fixes. Documentation available on doctrine-project.org. | 6,742 |
|
48.6 | 48.3 | MIT | 1 year ago | |
| doctrine/event-manager | Doctrine Event Manager is a lightweight PHP library providing a simple event system for registering listeners and dispatching events. Commonly used across Doctrine components to decouple services and react to lifecycle or application events cleanly. | 6,051 |
-1
|
41.6 | 47.9 | MIT | 4 months ago | |
| doctrine/collections | Doctrine Collections provides a lightweight, flexible collection abstraction for PHP. It offers ArrayCollection and collection interfaces with rich filtering, mapping, matching, and criteria-based querying, useful as a foundation for domain models and ORM-friendly data handling. | 5,980 |
+1
|
9.3 | 55.3 | MIT | 1 month ago | |
| doctrine/doctrine-bundle | Symfony bundle integrating Doctrine DBAL and ORM. Provides database abstraction, schema tools, and an object-relational mapper with DQL for powerful queries, plus configuration and tooling that fits the Symfony ecosystem. | 4,832 |
+2
|
68.6 | 57.1 | MIT | 5 months ago | |
| doctrine/migrations | Doctrine Migrations adds versioned database migrations to Doctrine DBAL/ORM. Define migration classes, generate diffs, and run upgrades/downgrades across environments with transactional execution, CLI tools, and fine-grained control over schema and data changes. | 4,775 |
|
82.7 | 73.0 | MIT | 1 month ago | |
| doctrine/doctrine-migrations-bundle | Integrates Doctrine Migrations into Symfony apps, providing commands and configuration for versioned database schema changes. Generate, run, and rollback migrations across environments with reliable tracking and deployment-friendly workflows. | 4,308 |
|
60.3 | 57.9 | MIT | 6 months ago | |
| doctrine/persistence | Doctrine Persistence provides shared interfaces and abstractions for object mapper persistence in PHP. It standardizes common concepts like object managers, repositories, and metadata across Doctrine and other mappers, helping libraries integrate consistently. | 4,052 |
|
54.8 | 55.3 | MIT | 1 month ago | |
| doctrine/data-fixtures | Doctrine Data Fixtures provides a simple way to define, manage, and execute fixture classes for loading sample or test data into Doctrine ORM or ODM. Useful for seeding databases, repeatable test setups, and development environments with consistent data. | 2,849 |
-1
|
58.0 | 59.2 | MIT | 2 months ago | |
| doctrine/doctrine-cache-bundle | — | 2,713 |
-2
|
10.1 | 19.2 | MIT | 6 years ago | |
| doctrine/doctrine-fixtures-bundle | Symfony bundle integrating DoctrineFixtures: define and load sample data (fixtures) into your database for dev, tests, and demos. Supports grouping, ordering, and environment-aware loading via CLI commands, with easy integration into the Doctrine ORM workflow. | 2,529 |
-1
|
46.7 | 52.7 | MIT | 6 months ago | |
| doctrine/sql-formatter | Formats SQL queries into readable, consistently indented output. Helps debug logs, review generated SQL, and improve diffs by standardizing whitespace and keywords. Supports multiple SQL dialect features and runs as a lightweight PHP library. | 1,868 |
+3
|
31.2 | 57.3 | MIT | 3 months ago | |
| doctrine/deprecations | Side-effect-free deprecation layer for PHP libs. Send E_USER_DEPRECATED notices to trigger_error or a PSR-3 logger, optionally just track them. Supports deduplication, suppression by identifier or package, and reporting counts of triggered deprecations. | 1,852 |
+3
|
29.3 | 60.9 | MIT | 3 months ago | |
| doctrine/mongodb-odm | Doctrine MongoDB ODM is an object document mapper for PHP that brings Doctrine-style persistence to MongoDB. Define documents with metadata, map fields and relations, run queries, and handle unit of work, identity map, and migrations for MongoDB apps. | 1,096 |
|
62.6 | 64.7 | MIT | 4 months ago | |
| doctrine/mongodb | Doctrine MongoDB library for PHP, providing an object-oriented API for working with MongoDB. Includes database and collection abstractions, query and command builders, and tools for common CRUD operations—ideal as a low-level MongoDB foundation for PHP apps. | 437 |
|
8.1 | 19.8 | MIT | 6 years ago | |
| doctrine/mongodb-odm-bundle | Symfony bundle integrating Doctrine MongoDB ODM for mapping PHP documents to MongoDB. Provides configuration, DI services, console commands, and tooling to manage connections, document managers, and repositories in Symfony apps. | 385 |
+1
|
34.4 | 49.5 | MIT | 4 months ago | |
| doctrine/coding-standard | Doctrine Coding Standard provides a shared PHP_CodeSniffer ruleset used across Doctrine projects. Based heavily on Slevomat, it helps enforce consistent formatting, naming, and best practices in PHP codebases via an easy-to-install package. | 319 |
|
19.9 | 48.2 | MIT | 8 months ago | |
| doctrine/key-value-store | Doctrine Key Value Store provides a lightweight Doctrine-style mapper for NoSQL key-value backends. Use simple @Entity/@Id annotations, schema-less values mapped to objects, and a stripped-down object manager with events. Drivers include Redis, DynamoDB, MongoDB, CouchDB and more. | 200 |
|
4.1 | 9.4 | MIT | 6 years ago | |
| doctrine/phpcr-odm | Doctrine PHPCR-ODM brings Doctrine-style object document mapping to PHP Content Repository (PHPCR) implementations. Map PHP objects to nodes and query content repositories via familiar Doctrine APIs. Supports Jackrabbit and Doctrine DBAL setups, with tests and docs available. | 181 |
|
46.2 | 56.7 | MIT | 2 months ago | |
| doctrine/phpcr-bundle | — | 158 |
|
29.6 | 38.9 | MIT | 2 months ago | |
| doctrine/orientdb-odm | Doctrine OrientDB ODM integrates OrientDB with Doctrine, offering an object document mapper for PHP. Map documents to classes, manage persistence and queries via a familiar Doctrine-style API, and work with graph/document features using a structured domain model. | 155 |
|
7.5 | 11.0 | MIT | — | |
| doctrine/couchdb-odm | — | 148 |
|
4.7 | 9.5 | MIT | 10 years ago | |
| doctrine/doctrine1 | Legacy Doctrine 1 ORM for PHP, providing ActiveRecord and Data Mapper features with a SQL abstraction layer, migrations, schema tools, and powerful query building. Useful for maintaining older Doctrine 1 applications or studying the classic ORM API. | 132 |
|
3.6 | 2.0 | LGPL-2.1 | — | |
| doctrine/couchdb | Doctrine CouchDB v2.x PHP client wrapping CouchDB’s HTTP API. Supports database and document CRUD, bulk updates, UUID generation, design docs, _all_docs, changes feed, view queries, compaction and replication APIs, Symfony console commands, and Mango queries. | 125 |
|
3.6 | 20.9 | MIT | 10 years ago | |
| doctrine/oxm | Doctrine OXM (Object XML Mapper) maps PHP objects to XML documents and back using Doctrine-style metadata. Useful for XML serialization/deserialization in domain models, with mapping drivers and runtime tools to integrate XML workflows into applications. | 85 |
|
0.5 | — | MIT | — | |
| doctrine/couchdb-odm-bundle | — | 49 |
|
1.4 | 1.3 | NOASSERTION | — | |
| doctrine/mongodb-odm-softdelete | Adds soft delete support to Doctrine MongoDB ODM. Mark documents as deleted without removing them, with automatic filtering of deleted records from queries and options to restore or include trashed documents. Integrates cleanly with ODM repositories and event system. | 35 |
|
0.2 | — | — | — | |
| doctrine/mongodb-odm-tailable-cursor-bundle | — | 16 |
|
0.1 | — | — | — | |
| doctrine/mongodb-odm-softdelete-bundle | — | 14 |
|
0.1 | — | — | — | |
| doctrine/doctrine-oxm-bundle | — | 12 |
|
0.1 | — | — | — | |
| doctrine/mongodb-maker-bundle | — | 1 |
|
17.1 | 0.9 | — | 2 months ago | |
| doctrine/phpcr-dbal-symfony-pack | — | 0 |
|
0.5 | — | MIT | 6 years ago | |
| doctrine/common | Doctrine Common extends core PHP with shared utilities used across Doctrine projects. Includes collections, event management, caching helpers, annotations support (legacy), reflection and class loading tools. A foundational component for Doctrine ORM and related libraries. | 0 |
-2
|
50.2 | 48.6 | — | — | |
| doctrine/lexer | Doctrine Lexer is a lightweight base library for building lexers used in top-down, recursive descent parsers. It powers tokenization in Doctrine projects like Annotations and ORM (DQL), providing a reusable foundation for custom language parsing. | 0 |
|
30.9 | 42.9 | — | — |
How can I help you explore Laravel packages today?