PHP ORM

Open-source PHP projects categorized as ORM

Top 21 PHP ORM Projects

  • CakePHP

    CakePHP: The Rapid Development Framework for PHP - Official Repository

    Project mention: Slim, possívelmente o framework ideal para quem vem do Golang | dev.to | 2023-01-14
  • laravel-mongodb

    A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)

    Project mention: Pro Tip: Use MongoDB for quickly spinning up prototypes | reddit.com/r/laravel | 2022-02-19

    There's a well maintained MongoDB package for Laravel by jenssegers/laravel-mongodb.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • Propel

    Propel2 is an open-source high-performance Object-Relational Mapping (ORM) for modern PHP

    Project mention: Ask HN: Programs that saved you 100 hours? (2022 edition) | news.ycombinator.com | 2022-12-20

    Just generate the classes from the database. Very fast to iterate from.

    https://propelorm.org/

  • Cycle ORM

    PHP DataMapper, ORM (by cycle)

  • 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)

  • Opulence

    A simple, secure, and scalable PHP application framework

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • Ubiquity

    Ubiquity framework

  • DoctrineJsonFunctions

    Doctrine DQL functions for SQL JSON data type

  • lessql

    LessQL: A lightweight and performant PHP ORM alternative

  • ATK Data

    Data Access PHP Framework for SQL & high-latency databases (by atk4)

  • core

    All of the required core code (by berlindb)

  • hyperf-doctrine

    🎲 This project provides an integration for the Doctrine ORM and the Hyperf framework.

    Project mention: Who's Afraid of ActiveRecord? I confess I'm not a big fan either, so here it is. Biding to Doctrine ORM into Swoole's framework Hyperf | reddit.com/r/PHP | 2022-02-28
  • wordpress-interop

    Interoperability library to work with WordPress database in third party apps

    Project mention: How do i deal with wordpress if i dont want to code in its ecosystem but can code | reddit.com/r/Wordpress | 2022-08-23

    Or alternatively - there are php packages for working directly with a wp database outside of wordpress: https://github.com/williarin/wordpress-interop, https://github.com/corcel/corcel

  • Corma

    Convention-based Object-Relational Mapper

  • arca-orm

    Low code , Zero Configuration ORM that creates models, config, database and tables on the fly.

    Project mention: for all those who struggle with database connection, i found a project which lets you connect with one single function, its pretty cool you should give it a try.. | reddit.com/r/programming | 2022-06-05

    After making connection if you wanna make working with database easy try this https://github.com/scrawler-labs/arca-orm

  • framework

    PHP Framework providing ActiveRecord models and out of the box CRUD controllers with versioning and ORM support (by Divergence)

    Project mention: What are the popular PHP Frameworks you are using for the development of web applications and why? | reddit.com/r/PHP | 2022-10-21

    I did implement PSR7 in the develop branch though.

  • partitionable

    Partitionable associations for the CakePHP ORM, allowing for basic limiting per group.

  • Symfony-RDM

    Helps with the use of domain driven design & rich domain model in symfony / doctrine applications.

  • ezDB

    ezDB is a lightweight PHP library that provides an easy and fast to deal with databases. It manages connections, provides a query builder, and a lightweight ORM.

  • magicgraph

    Behavioral-based object modeling and persistence library for PHP 8

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-01-14.

PHP ORM related posts

Index

What are some of the best open-source ORM projects in PHP? This list will help you:

Project Stars
1 CakePHP 8,602
2 laravel-mongodb 6,356
3 Propel 1,233
4 Cycle ORM 1,086
5 Doctrine2 Behaviors 887
6 one 866
7 Opulence 732
8 Ubiquity 634
9 DoctrineJsonFunctions 440
10 lessql 405
11 ATK Data 258
12 core 228
13 hyperf-doctrine 49
14 wordpress-interop 48
15 Corma 30
16 arca-orm 28
17 framework 14
18 partitionable 10
19 Symfony-RDM 4
20 ezDB 3
21 magicgraph 0
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com