PHP Database

Open-source PHP projects categorized as Database | Edit details
Related topics: #PHP #MySQL #Laravel #ORM #Sqlite

Top 23 PHP Database Projects

  • GitHub repo Doctrine

    Doctrine Object Relational Mapper (ORM)

    Project mention: PHP 8.1.0 has been tagged today! | | 2021-11-23

    It's tracked in this issue:

  • GitHub repo Adminer

    Database management in a single PHP file

    Project mention: Random Error, can't figure out what's wrong | | 2021-12-27

    To a default twentytwenty theme or whatever. If you don't have phpmyadmin just use adminer. Make a backup first just in case!

  • Cloudways

    Managed Cloud Hosting Platform. Deploy PHP applications on Cloudways web hosting platform to get high uptime and optimized performance. Use the BFCM promo "BFCM2021" to get 40% FLAT discount for FOUR months straight.

  • GitHub repo laravel-backup

    A package to backup your Laravel app

    Project mention: 4 Packages You Need in Any Laravel Project | | 2021-12-30

    4. spatie/laravel-backup

  • 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 the 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: API Development: The Complete Guide for Building APIs Without Code | | 2021-10-13


  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • GitHub repo Eloquent

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

    Project mention: “The most scarily/stunningly impressive linguistic feat I’ve ever seen“ | | 2021-09-25

    A similar example: in Laravel's codebase, every line in a doc block is 3 characters shorter than the line above it.


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

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

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

    Prequel for Laravel. Clear and concise database management.

    Project mention: What mysql gui should i use? (windows) | | 2021-05-03
  • 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: Cycle DataMaper ORM 2.0 released - composite keys, any collection type, STI, JTI | | 2021-12-27
  • GitHub repo laravel

    Reliese Laravel Model Generator (by reliese)

    Project mention: What do you think about API Artisan? | | 2021-10-03

    Instead, go the other way around. There are plenty of packages that convert an SQL database into a collection of models. Some of them are really good, like this one - I used that on an existing project with 78 tables and it produced a very decent and usable result.

  • GitHub repo Doctrine2 Behaviors

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

  • GitHub repo PHPAuth

    PHPAuth is a secure PHP Authentication class that easily integrates into any site.

    Project mention: Alternatives for passwordless login like Magiclink? | | 2022-01-05
  • GitHub repo laravel-eloquent-query-cache

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

    Project mention: Is there a way to improve the cache? | | 2021-10-24
  • 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.

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 2022-01-05.

PHP Database related posts


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

Project Stars
1 Doctrine 9,042
2 Adminer 5,024
3 laravel-backup 4,780
4 ProxyManager 4,578
5 Medoo 4,472
6 Doctrine Extensions 3,677
7 PHP-CRUD-API 2,920
8 Eloquent 2,355
9 RedBean 2,195
10 Baum 2,190
11 Idiorm 2,016
12 Prequel 1,294
13 Propel 1,207
14 laravel-tags 1,195
15 Cycle ORM 962
16 laravel 885
17 Doctrine2 Behaviors 838
18 PHPAuth 814
19 laravel-eloquent-query-cache 738
20 EasyDB 663
21 laravel-options 651
22 Spot2 600
23 Aura.Sql 510
Find remote jobs at our new job board There are 28 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.