The Doctrine Project is the home to several PHP libraries primarily focused on database storage and object mapping.
Followers
335
Total Stars
98,189
Packages
18
Monthly Downloads
103,267,948
Avg Score
56.3
Packages w/ Vulns
0
|
|
Description
|
|
|
|
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,355 | 59.3 | 55.6 | MIT | 7 months 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,160 | 50.8 | 50.4 | 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. | 11,010 | 51.4 | 47.1 | MIT | 3 months ago | |
| doctrine/orm | Doctrine ORM is a PHP 8.1+ object-relational mapper that provides transparent persistence for objects on top of Doctrine DBAL. Includes DQL, an object-oriented SQL-like query language inspired by Hibernate HQL, for flexible, powerful querying. | 10,170 | 89.6 | 70.5 | MIT | 6 days ago | |
| doctrine/dbal | Doctrine DBAL is a powerful database abstraction layer for PHP, providing a consistent API across drivers plus rich schema introspection and management tools. Ideal for building portable SQL queries, migrations, and database tooling beyond PDO. | 9,698 | 89.9 | 74.8 | MIT | 2 weeks 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,879 | 60.6 | 45.7 | MIT | 3 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,745 | 68.6 | 58.7 | 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,050 | 48.5 | 50.5 | MIT | 2 months ago | |
| doctrine/collections | Doctrine Collections is a PHP library providing a flexible abstraction for working with collections. It offers array-like data structures, filtering and matching utilities, and common collection operations used across Doctrine projects and standalone apps. | 5,982 | 67.6 | 59.7 | MIT | 2 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,809 | 70.2 | 59.3 | 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,828 | 77.3 | 62.4 | MIT | 3 months ago | |
| doctrine/migrations | — | 4,774 | 75.6 | 32.3 | MIT | 1 month ago | |
| doctrine/doctrine-migrations-bundle | — | 4,306 | 69.8 | 65.0 | MIT | 4 months ago | |
| doctrine/persistence | Leverage Doctrine Persistence for consistent object mapping and database interactions in PHP. Abstracts ORM logic, simplifying persistence across frameworks. Supports Doctrine ORM, DBAL, and more with unified abstractions. Ideal for scalable applications needing clean persistence patterns. | 4,051 | 56.2 | 57.0 | MIT | 5 months ago | |
| doctrine/data-fixtures | Doctrine Data Fixtures extension for Doctrine ORM/ODM. Provides a simple, structured way to define, manage, and execute data fixtures for loading seed/test data into your database, with tooling and docs to support fixture organization and execution. | 2,851 | 61.2 | 60.9 | MIT | 1 week 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,863 | 37.6 | 60.2 | MIT | 2 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,845 | 35.7 | 64.1 | MIT | 2 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,097 | 69.5 | 71.0 | MIT | 2 months ago | |
| doctrine/mongodb-odm-bundle | — | 384 | 41.4 | 52.9 | MIT | 2 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 | 33.5 | 54.0 | MIT | 6 months ago | |
| doctrine/phpcr-odm | Doctrine PHPCR-ODM maps PHP objects to a PHPCR content repository (e.g., Jackrabbit or DBAL-backed implementations). Provides persistence, querying, and schema mapping via Doctrine-style metadata, with tooling, docs, and test setups for multiple backends. | 181 | 49.7 | 54.9 | MIT | 2 weeks ago | |
| 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 | 13.6 | 33.7 | MIT | 10 years ago |
How can I help you explore Laravel packages today?