PHP Database

Open-source PHP projects categorized as Database

Top 23 PHP Database Projects

  • Doctrine

    Doctrine Object Relational Mapper (ORM)

    Project mention: Bisecting vendors | dev.to | 2024-01-05

    If you compare 2.17.x with 2.16.x, you can see quite a few contributions, over a long period of time, and by many different people. Some of them are part of the Doctrine core team, some others are returning contributors, and a few made their very first contribution to that repository. They all do that on their spare time, sometimes after a long day of paid work, take vacations, have a family to take care of. The core team is subscribed to issues, but it's unlikely that contributors are.

  • dbal

    Doctrine Database Abstraction Layer

    Project mention: PHP + Informix + Framework? | /r/PHP | 2023-05-22

    In that case, write your own platform and db driver that translates it, doctrine already has tons of work done which can be easily extended : https://github.com/doctrine/dbal/tree/3.6.x/src/Platforms - or simply use PDO directly as it can do raw queries and forget ORMs in general for such usecase.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • Adminer

    Database management in a single PHP file

    Project mention: Shopware dev productivity and plugin validation | dev.to | 2024-03-25

    Use adminer (or the SQL CLI) to verify tables and database entries. In a dockware default development setup: http://localhost//adminer.php (Server: 127.0.0.1, not localhost; database: shopware; initial login: root:root).

  • laravel-backup

    A package to backup your Laravel app

  • ProxyManager

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

  • Medoo

    The lightweight PHP database framework to accelerate the development.

    Project mention: Slim framework + packages | /r/PHP | 2023-10-28

    If your idea is to make something as lean and "from scratch" as possible, I'd use a simple Query Builder instead of an ORM. Something like medoo or Aura.Sql.

  • Doctrine Extensions

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

    Project mention: similar bundle / approach to laravel-activitylog | /r/symfony | 2023-05-10
  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • PHP-CRUD-API

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

    Project mention: Need something to host a URL that listens for a POST and then talks back to on-prem SQL. | /r/sysadmin | 2023-05-10

    For quick dev/arch projects at home, I usually use this: https://github.com/mevdschee/php-crud-api

  • Eloquent

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

  • RedBean

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

    Project mention: Redbean – Single-file distributable web server | news.ycombinator.com | 2023-10-29
  • Baum

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

  • Idiorm

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

  • laravel-tags

    Add tags and taggable behaviour to your Laravel app

  • laravel

    Reliese Laravel Model Generator (by reliese)

  • upscheme

    Database migrations and schema updates made easy

  • Propel

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

  • mysqldump-php

    PHP version of mysqldump cli that comes with MySQL

  • Cycle ORM

    PHP DataMapper, ORM (by cycle)

    Project mention: RoadRunner: High-performance PHP application server written in Golang | news.ycombinator.com | 2023-07-29

    From the same developers :

    PHP framework : https://spiral.dev/

    ORM library : https://cycle-orm.dev/

  • laravel-eloquent-query-cache

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

  • Doctrine2 Behaviors

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

  • pomf

    Pomf is a simple lightweight file host with support for drop, paste, click and API uploading.

  • PHPAuth

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

    Project mention: PHPAuth String Encryption | /r/PHPhelp | 2023-12-06

    It may be helpful here to be specific about which "PHPAuth" project you're talking about. A quick google brings up at least 2 projects with similar names - https://github.com/PHPAuth/PHPAuth and https://github.com/delight-im/PHP-Auth - the latter has a recently opened issue about encryption of PII

  • SleekDB

    Pure PHP NoSQL database with no dependency. Flat file, JSON based document database.

  • 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 2024-03-25.

PHP Database related posts

Index

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

Project Stars
1 Doctrine 9,819
2 dbal 9,351
3 Adminer 6,025
4 laravel-backup 5,483
5 ProxyManager 4,938
6 Medoo 4,776
7 Doctrine Extensions 3,986
8 PHP-CRUD-API 3,519
9 Eloquent 2,645
10 RedBean 2,305
11 Baum 2,232
12 Idiorm 2,012
13 laravel-tags 1,564
14 laravel 1,375
15 upscheme 1,286
16 Propel 1,253
17 mysqldump-php 1,223
18 Cycle ORM 1,196
19 laravel-eloquent-query-cache 1,014
20 Doctrine2 Behaviors 913
21 pomf 878
22 PHPAuth 877
23 SleekDB 872
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com