Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure. Learn more →
Top 23 PHP ORM Projects
-
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
-
The freshly created Laravel project comes with configurations for relational databases out of the box. We further need to configure it to work with MongoDB by installing the mongodb/laravel-mongodb package. Install it by running the command below in your terminal in the project directory.
-
-
Project mention: Cash: A small jQuery alternative for modern browsers | news.ycombinator.com | 2024-11-02
Thanks. It's a small custom framework built from libraries, some custom, some third party.
- File based HTTP router running on top of https://frankenphp.dev/
- ORM/SQL with: https://github.com/cycle/orm but this is preference. Anything works. From SQL builders to ORMs.
I'll try to explain their form handling:
Forms almost always POST to their own GET URL.
If you GET /user/save you'll get back HTML and `` to build the form.<p>If you POST /user/save you're expected to pass the entire form data PLUS an "operation" parameter which is used by the backend to decide what should be done and returned.<p>For example if user clicks [add new user] button, the "operation" parameter has value of "btnNewUser.click".<p>Why pass operation parameter? Because business forms can have more than just a [submit] button.<p>For example, there might be a datagrid filter value being changed (operation: "txtFilter.change"), or perhaps a dropdown search to select a city name from a large list (operation: "textCitySearch.change"), it can be a postal code to address lookup (operation: "txtPostalCode.change"), etc.<p>On the backend, the pseudocode looks somewhat like this but it's cleaner/safer because of encapsulation, validation, error handling, data sanitization, model binding and csrf/xss protection:<p><pre><code> function user_save($operation) {
-
Project mention: Symfony and MongoDB: Our Commitment to a Stronger Integration | dev.to | 2025-06-09
Thank you for building amazing things with Symfony and MongoDB! We're genuinely excited for what’s ahead. If you have suggestions, requests, or bug reports, please join us in the #doctrine channel on the Symfony Slack, or open an issue on Doctrine MongoDB ODM GitHub.
-
Doctrine2 Behaviors
Doctrine2 behavior traits that help handling Blameable, Loggable, Sluggable, SoftDeletable, Uuidable, Timestampable, Translatable, Tree behavior
-
one
A minimalist high-performance php framework that supports the [swoole | php-fpm] environment (by lizhichao)
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
-
-
-
-
-
Agile Data (https://github.com/atk4/data) implements an approach of DataSet abstractions - implemented in PHP. While it is similar to ORM in syntax - it operates on an entirely different level, allowing you to dynamically build multi-table queries, abstract away expression logic, and introduce extensions (such as soft-delete). All of that integrates into UI directly) making ATK a "low-code" framework that makes you write very little code.
-
-
-
-
-
arca-orm
Low code , Zero Configuration ORM that creates models, config, database and tables on the fly.
-
-
laravel-cycle-orm-adapter
🔥 A Laravel adapter for CycleORM, providing seamless integration of the Cycle DataMapper ORM for advanced database handling and object mapping in PHP applications.
I use this approach in my wayofdev/laravel-cycle-orm-adapter package. The configuration file can be viewed here: config/cycle.php
-
-
framework
PHP Framework providing ActiveRecord models and out of the box CRUD controllers with versioning and ORM support (by Divergence)
-
harmony
Harmony Modern Slim Boilerplate with Tinker and Eloquent ORM | Read Documentation in (by harmony-betta)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
PHP ORM discussion
PHP ORM related posts
-
Laravel Migration With Schema Validation in MongoDB
-
Symfony and MongoDB: Our Commitment to a Stronger Integration
-
Building a Multi-Step Form with Laravel, Livewire, and MongoDB
-
MongoDB Laravel Integration Now Officially Supported!
-
[Symfony] - Dynamique database connection
-
likelyhood of MongoDb composer package being maintained for 10x?
-
I like the PHP constant RAM characteristics under a load but struggle to find a semi-decent req/s PHP framework/library for API backends
-
A note from our sponsor - Stream
getstream.io | 15 Jul 2025
Index
What are some of the best open-source ORM projects in PHP? This list will help you:
# | Project | Stars |
---|---|---|
1 | CakePHP | 8,754 |
2 | laravel-mongodb | 7,083 |
3 | Propel | 1,270 |
4 | Cycle ORM | 1,254 |
5 | mongodb-odm | 1,097 |
6 | Doctrine2 Behaviors | 917 |
7 | one | 887 |
8 | Opulence | 728 |
9 | Ubiquity | 700 |
10 | DoctrineJsonFunctions | 569 |
11 | auditor-bundle | 425 |
12 | lessql | 408 |
13 | ATK Data | 277 |
14 | core | 257 |
15 | auditor | 172 |
16 | laravel-eloquent-case | 114 |
17 | wordpress-interop | 66 |
18 | arca-orm | 34 |
19 | Corma | 32 |
20 | laravel-cycle-orm-adapter | 27 |
21 | tina4-php | 20 |
22 | framework | 18 |
23 | harmony | 17 |