awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

PHP ORM Libraries

Ranking updated Jul 13, 2026

For an object relational mapper for PHP, the strongest matches are mongodb/laravel-mongodb (This library provides an Active Record implementation for MongoDB), jenssegers/laravel-mongodb (This library provides an Active Record implementation and query) and laravel/framework (This is a full-stack web framework that includes Eloquent). doctrine/orm and illuminate/database round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

We curate open-source GitHub repositories matching “best php orm libraries”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.

PHP ORM Libraries

Find the best repos with AI.We'll search the best matching repositories with AI.
  • mongodb/laravel-mongodbmongodb avatar

    mongodb/laravel-mongodb

    7,075View on GitHub↗

    This project is a MongoDB database driver and object-relational mapper that brings MongoDB support to the Laravel Eloquent model and query builder. It provides a NoSQL model mapper that allows MongoDB collections to be mapped to object-oriented models using the Active Record pattern. The integration enables the use of a fluent query builder for constructing queries and aggregation pipelines without writing raw database syntax. It supports schema-less model integration, allowing applications to manage unstructured data while maintaining compatibility with standard object-oriented patterns. Th

    This library provides an Active Record implementation for MongoDB within the Laravel ecosystem, serving as a specialized ORM for document-based data rather than traditional relational databases.

    PHPActive-Record ORMsActive Record MappersFluent Query Builders
    View on GitHub↗7,075
  • jenssegers/laravel-mongodbjenssegers avatar

    jenssegers/laravel-mongodb

    7,075View on GitHub↗

    This project is a MongoDB Eloquent ORM and NoSQL query builder for the Laravel framework. It provides an active record implementation that maps MongoDB collections and documents to programmable models for data manipulation. The system enables schemaless data management, allowing applications to handle dynamic data structures without the need for rigid database migrations or predefined tables. It integrates MongoDB into Laravel applications to store and retrieve flexible document data using standard PHP patterns. The library covers document store querying and Eloquent model mapping, utilizing

    This library provides an Active Record implementation and query builder specifically for integrating MongoDB with Laravel, serving as a specialized ORM for NoSQL document stores rather than traditional relational databases.

    PHPActive-Record ORMsFluent Query Builders
    View on GitHub↗7,075
  • laravel/frameworklaravel avatar

    laravel/framework

    34,774View on GitHub↗

    This project is a full-stack web framework that provides a comprehensive environment for building server-side applications. It utilizes a model-view-controller architecture to separate application logic into distinct layers for data management, user interface presentation, and request handling. The platform manages the entire request-response lifecycle, including security, session handling, and background task processing, while using an object-relational mapping layer to translate database records into programmable objects. The framework distinguishes itself through a central service containe

    This is a full-stack web framework that includes Eloquent, a robust ORM that implements the Active Record pattern, query building, and database migrations, though it is part of a larger ecosystem rather than a standalone library.

    PHPDatabase MigrationsQuery Builders
    View on GitHub↗34,774
  • doctrine/ormdoctrine avatar

    doctrine/orm

    10,172View on GitHub↗

    Doctrine ORM is a PHP object-relational mapper that connects application objects to relational database tables. It uses the data mapper and identity map patterns to decouple the in-memory object model from the database schema, allowing developers to manage data persistence without writing manual SQL. The project features a dedicated object-oriented query language and programmatic builder for retrieving data based on entities rather than tables. It implements a unit-of-work system to track object changes during a request and synchronize them via atomic transactions. The capability surface inc

    Doctrine is the industry-standard PHP ORM that implements the Data Mapper pattern, provides a powerful query builder, and includes robust support for migrations and complex relationship mapping.

    PHPDatabase Schema Migrations
    View on GitHub↗10,172
  • illuminate/databaseilluminate avatar

    illuminate/database

    2,766View on GitHub↗

    READ ONLY Subtree split of the Illuminate Database component (see laravel/framework)

    This is the standalone database component from the Laravel framework, providing a robust query builder, active record implementation, and migration support that functions as a comprehensive ORM for PHP applications.

    PHPDatabase Interaction
    View on GitHub↗2,766
  • cycle/ormcycle avatar

    cycle/orm

    1,328View on GitHub↗

    PHP DataMapper, ORM

    Cycle ORM is a powerful Data Mapper implementation for PHP that provides robust relationship mapping, a fluent query builder, and database schema management, making it a comprehensive tool for database interaction.

    PHPDatabase Interaction
    View on GitHub↗1,328
  • cakephp/ormcakephp avatar

    cakephp/orm

    149View on GitHub↗

    READ-ONLY A flexible, lightweight and powerful Object-Relational Mapper for PHP, implemented using the DataMapper pattern. This repo is a split of the main code that can be found in https://github.com/cakephp/cakephp

    This library provides a robust implementation of the Data Mapper pattern for PHP, offering comprehensive relationship mapping and query building capabilities as a standalone component of the CakePHP framework.

    PHPDatabase Interaction
    View on GitHub↗149

Related searches

  • an object relational mapping library for Java
  • an active-record ORM for PHP
  • an object relational mapper for C#
  • an object relational mapping library for Dart
  • an object relational mapping library for Kotlin
  • an object relational mapper for Rust
  • ORMs, query builders and data access
  • an ORM and query builder for Go