The Doctrine Project is the home to several PHP libraries primarily focused on database storage and object mapping.
Followers
346
Total Stars
119,115
Packages
39
Monthly Downloads
135,519,740
Avg Score
30.8
Packages w/ Vulns
0
Recorded values over time (once-a-day snapshots). Aug 23, 2026 – Sep 21, 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,340 |
|
39.7 | 48.9 | MIT | 1 year ago | |
| 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. | 11,146 |
+1
|
31.0 | 44.1 | MIT | 2 years 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. | 10,988 |
-1
|
38.9 | 43.6 | MIT | 8 months ago | |
| doctrine/orm | Doctrine ORM is a PHP 8.1+ object-relational mapper built on Doctrine DBAL, providing transparent persistence for PHP objects. Use mappings, repositories, and Unit of Work, plus DQL for powerful, object-oriented querying as an alternative to SQL. | 10,169 |
-1
|
90.9 | 70.7 | MIT | 1 month ago | |
| doctrine/dbal | Doctrine DBAL is a powerful PHP database abstraction layer offering portable connections, a fluent query builder, schema introspection, and schema management tools. It supports multiple database platforms and underpins many Doctrine-based applications. | 9,703 |
|
88.5 | 74.4 | 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,855 |
-1
|
40.5 | 38.6 | 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,731 |
|
48.7 | 48.4 | MIT | 2 years 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,045 |
|
37.0 | 46.5 | MIT | 7 months ago | |
| doctrine/collections | Doctrine Collections is a lightweight abstraction for working with arrays and object sets in PHP. Provides Collection interfaces and implementations like ArrayCollection, plus filtering, mapping, criteria-based matching, and iteration utilities used across Doctrine projects. | 5,975 |
-1
|
61.7 | 57.4 | MIT | 4 months 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. | 5,800 |
-1
|
50.1 | 48.9 | MIT | 1 year 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,831 |
|
78.5 | 61.5 | MIT | 1 month ago | |
| doctrine/migrations | Doctrine Migrations manages database schema changes via versioned migrations for PHP projects. Generate, run, and track migration scripts, integrate with Doctrine DBAL/ORM, and safely evolve schemas across environments with robust CLI tooling and documentation. | 4,768 |
|
78.1 | 70.9 | MIT | 4 months 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,304 |
|
56.1 | 57.5 | MIT | 9 months ago | |
| doctrine/persistence | Doctrine Persistence provides shared abstractions for persistence and object mappers in the Doctrine ecosystem. It defines common interfaces and utilities used by Doctrine ORM and related libraries to manage mapping, metadata, and repository behavior across storage backends. | 4,045 |
|
52.8 | 54.7 | MIT | 3 months ago | |
| doctrine/data-fixtures | Doctrine Data Fixtures provides a simple way to define, manage, and run data fixture loaders for Doctrine ORM/ODM. Use it to seed databases with reusable sample data for development, testing, and demos via an organized fixture execution workflow. | 2,851 |
-1
|
54.3 | 58.4 | MIT | 5 months ago | |
| doctrine/doctrine-cache-bundle | — | 2,704 |
|
10.1 | 18.7 | 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,533 |
+1
|
41.6 | 51.2 | MIT | 9 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,865 |
|
27.2 | 56.2 | MIT | 7 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,855 |
+1
|
24.8 | 59.4 | MIT | 7 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,094 |
|
67.4 | 66.7 | MIT | 2 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. | 436 |
|
8.1 | 20.1 | MIT | 7 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 |
|
30.7 | 47.9 | MIT | 7 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. | 320 |
|
16.3 | 47.1 | MIT | 11 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. | 199 |
|
4.1 | 10.6 | 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 |
|
42.5 | 52.7 | MIT | 5 months ago | |
| doctrine/phpcr-bundle | — | 158 |
|
25.2 | 35.3 | MIT | 5 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.3 | 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 | 3.4 | 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. | 124 |
|
3.6 | 20.0 | 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 | 0.1 | MIT | — | |
| doctrine/rst-parser | — | 63 |
|
23.8 | 40.1 | MIT | 6 months ago | |
| doctrine/couchdb-odm-bundle | — | 49 |
|
1.4 | 2.1 | 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 | 6.9 | — | — | |
| 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 |
|
12.2 | 30.2 | — | 6 months ago | |
| doctrine/phpcr-dbal-symfony-pack | — | 0 |
|
0.5 | — | MIT | 6 years ago |
How can I help you explore Laravel packages today?