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 | reddit.com/r/emacs | 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 | dev.to | 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 | reddit.com/r/laravel | 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 | reddit.com/r/apache | 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. https://github.com/Ocramius/ProxyManager/issues/328 (same error for another program/library)

  • GitHub repo Medoo

    The lightweight PHP database framework to accelerate development

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

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

    Project mention: Implementing a detailed auditing system | reddit.com/r/symfony | 2021-04-27

    https://github.com/doctrine-extensions/DoctrineExtensions/blob/main/doc/loggable.md 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 | reddit.com/r/webdev | 2021-05-08

    My current thought is to use Vue for the front end + a PHP crud API (https://github.com/mevdschee/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 | dev.to | 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 | reddit.com/r/PHP | 2021-03-16

    This is the thread you're looking for: https://github.com/gabordemooij/redbean/issues/450

  • 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 | reddit.com/r/PHP | 2021-03-16

    For simple stuff I normally use idiorm https://github.com/j4mie/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) | reddit.com/r/PHP | 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? | reddit.com/r/laravel | 2021-08-10

    Also this package (there are many alternatives) handing cache option now, https://github.com/renoki-co/laravel-eloquent-query-cache

  • GitHub repo EasyDB

    Easy-to-use PDO wrapper for PHP projects.

    Project mention: logic question | reddit.com/r/PHPhelp | 2021-08-08

    If a database abstraction is desired, https://github.com/paragonie/easydb 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 | reddit.com/r/laravel | 2021-01-31

    I like to use the laravel-options package for global tokens: https://github.com/appstract/laravel-options

  • 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 | news.ycombinator.com | 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: http://atlasphp.io

  • 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. | reddit.com/r/PHP | 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.

Index

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 99remotejobs.com. 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
www.saashub.com