PHP Database

Open-source PHP projects categorized as Database | Edit details

Top 23 PHP Database Projects

  • GitHub repo Doctrine

    Doctrine Object Relational Mapper (ORM)

    Project mention: Teaser: A php parser and company backend in emacs lisp | | 2021-08-30

    You're right, that one doesn't have type hints or phpdoc, I'm not quite sure why.. this one, which is installed in my vendor folder in the demo, does have phpdoc :)

  • GitHub repo Adminer

    Database management in a single PHP file

    Project mention: Automating quality checks for Kubernetes YAMLs | | 2021-09-02

    value-files - file used to override the default values from a Helm chart, in my case it's an Adminer's values.yaml file (the Helm chart I use for testing, which deploys popular database client - Adminer),

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo laravel-backup

    A package to backup your Laravel app

    Project mention: Development environment suggestions | | 2021-06-08

    Database backups via php artisan backup:run

  • GitHub repo ProxyManager

    🎩✨🌈 OOP Proxy wrappers/utilities - generates and manages proxies of your objects

    Project mention: phpmyadmin broken | | 2021-05-16

    It seems to be a php version error yes, put a phpinfo(); in the file triggering the error to see the version of php actually used to interpret this file. (same error for another program/library)

  • GitHub repo Medoo

    The lightweight PHP database framework to accelerate development

    Project mention: Medoo v2.0 Milestone Released | | 2021-04-28
  • GitHub repo Doctrine Extensions

    Doctrine2 behavioral extensions, Translatable, Sluggable, Tree-NestedSet, Timestampable, Loggable, Sortable

    Project mention: Implementing a detailed auditing system | | 2021-04-27 you might want to look into this one

  • GitHub repo PHP-CRUD-API

    Single file PHP script that adds a REST API to a SQL database

    Project mention: Data management system structure design | | 2021-05-08

    My current thought is to use Vue for the front end + a PHP crud API ( to handle the crud part.

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo Eloquent

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

    Project mention: [Part 3/100] Eloquent sucks | | 2021-08-28

    View on GitHub

  • GitHub repo Baum

    Baum is an implementation of the Nested Set pattern for Laravel's Eloquent ORM.

  • GitHub repo RedBean

    ORM layer that creates models, config and database on the fly

    Project mention: Looking for suggestions for ActiveRecord-like ORM class | | 2021-03-16

    This is the thread you're looking for:

  • GitHub repo Idiorm

    A lightweight nearly-zero-configuration object-relational mapper and fluent query builder for PHP5.

    Project mention: Looking for suggestions for ActiveRecord-like ORM class | | 2021-03-16

    For simple stuff I normally use idiorm

  • GitHub repo Propel

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

  • GitHub repo laravel-tags

    Add tags and taggable behaviour to your Laravel app

  • GitHub repo Cycle ORM

    PHP DataMapper, ORM (by cycle)

    Project mention: The state of the developer ecosystem: PHP (JetBrains survey results) | | 2021-07-23

    Doctrine is my preferred ORM, being both powerful and battle-tested. There's a relatively new one lately called Cycle but I don't know anything about it other than that it's also a datamapper like Doctrine. Looks pretty decent from the docs tho.

  • GitHub repo Doctrine2 Behaviors

    Doctrine2 behavior traits that help handling Blameable, Loggable, Sluggable, SoftDeletable, Uuidable, Timestampable, Translatable, Tree behavior

  • GitHub repo laravel-eloquent-query-cache

    Adding cache on your Laravel Eloquent queries' results is now a breeze.

    Project mention: Will caching take care of this or should I schedule it? | | 2021-08-10

    Also this package (there are many alternatives) handing cache option now,

  • GitHub repo EasyDB

    Easy-to-use PDO wrapper for PHP projects.

    Project mention: logic question | | 2021-08-08

    If a database abstraction is desired, is probably the safest and easiest. It's preconfigured with secure options enabled and makes it relatively easy for new developers to learn.

  • GitHub repo laravel-options

    Global key-value store in the database

    Project mention: Where to store user api token for 3rd party (xero) api | | 2021-01-31

    I like to use the laravel-options package for global tokens:

  • GitHub repo Spot2

    Spot v2.x DataMapper built on top of Doctrine's Database Abstraction Layer

  • GitHub repo Aura.Sql

    SQL database access through PDO.

  • GitHub repo Atlas.Orm

    A data mapper implementation for your persistence model in PHP.

    Project mention: Objection to ORM Hatred | | 2021-02-09

    > People always seem to ignore the third option: using an ORM that embraces SQL!

    I had a similar revelation several years ago, based on the distinctions between a "domain model" and "persistence model" described by Mehdi Khalili, resulting in Atlas for PHP:

  • GitHub repo Aura.SqlQuery

    Independent query builders for MySQL, PostgreSQL, SQLite, and Microsoft SQL Server.

    Project mention: A simple code to automate prepared statements for SQL code. Hope will help someone. | | 2020-12-29

    As a (far better) alternative way of doing things, you might want to look at existing query builder libraries such as Aura.SqlQuery

  • GitHub repo ATK Data

    ATK Data - Data Access Framework for high-latency databases (Cloud SQL/NoSQL). (by atk4)

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 2021-09-02.


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

Project Stars
1 Doctrine 8,774
2 Adminer 4,884
3 laravel-backup 4,625
4 ProxyManager 4,451
5 Medoo 4,417
6 Doctrine Extensions 3,590
7 PHP-CRUD-API 2,839
8 Eloquent 2,294
9 Baum 2,185
10 RedBean 2,168
11 Idiorm 2,008
12 Propel 1,186
13 laravel-tags 1,134
14 Cycle ORM 902
15 Doctrine2 Behaviors 814
16 laravel-eloquent-query-cache 672
17 EasyDB 646
18 laravel-options 645
19 Spot2 597
20 Aura.Sql 492
21 Atlas.Orm 429
22 Aura.SqlQuery 393
23 ATK Data 247
Find remote jobs at our new job board There are 24 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives