PHP Database

Open-source PHP projects categorized as Database

Top 23 PHP Database Projects

  • Doctrine

    Doctrine Object Relational Mapper (ORM)

    Project mention: Feedback on sfCon 2022 | dev.to | 2022-12-15

    Next, I went to see Nicolas Grekas' talk about proxies: he presented different ways to implement a proxy system, and examples of each one that can be found in Symfony or Doctrine. Doctrine has an old implementation in doctrine/common that we are trying to get rid off, and Nicolas has proposed to replace those with Lazy Ghost proxies. I know, I know, funny name. 👻 Lazy ghost proxies cannot be used with final classes, or internal classes, but do allow to use a fluent API, which makes them a good fit for doctrine/orm entities.

  • dbal

    Doctrine Database Abstraction Layer

    Project mention: Suggestions for MySQL wrapper or helper or interface library for PHP? | reddit.com/r/PHPhelp | 2022-10-12

    Symfony goes with Doctrine, which can be installed separately. It has several levels actually. Check the Doctrine DBAL, probably thats what you looking for. It have the QueryBuilder in there as well. https://www.doctrine-project.org/projects/dbal.html

  • Cloudways

    Managed Cloud Hosting Platform. Cloudways leverages advanced technology and powerful servers. Cloudways is a one-click managed cloud hosting platform that provides cloud application and server management solutions. Get up to 2 months of Free Hosting by using code "LIBHUNT" and get a $30 free hosting credit.

  • Adminer

    Database management in a single PHP file

    Project mention: Hosting a basic read-only browse of an mysql database | reddit.com/r/selfhosted | 2023-01-08

    I use Adminer as my daily tool to explore MySQL databases.

  • laravel-backup

    A package to backup your Laravel app

    Project mention: Packages for Laravel | dev.to | 2022-06-30

    https://github.com/jeremykenedy/laravel-logger#authentication-middleware-usage https://github.com/beyondcode/laravel-dump-server https://github.com/barryvdh/laravel-debugbar https://github.com/laravel-shift/blueprint https://github.com/spatie/laravel-backup https://github.com/spatie/laravel-permission https://github.com/spatie/laravel-activitylog https://github.com/realrashid/sweet-alert https://github.com/rappasoft/laravel-livewire-tables https://github.com/yajra/laravel-datatables https://github.com/Labs64/laravel-boilerplate https://github.com/creativetimofficial/argon-dashboard-laravel https://github.com/the-control-group/voyager https://github.com/beyondcode/laravel-er-diagram-generator

  • ProxyManager

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

    Project mention: 🎁 Yii Proxy released! | reddit.com/r/PHP | 2022-07-09

    Why is yii inventing their own stuff instead of using established stuff, like https://github.com/Ocramius/ProxyManager?

  • Medoo

    The lightweight PHP database framework to accelerate the development.

    Project mention: Suggestions for MySQL wrapper or helper or interface library for PHP? | reddit.com/r/PHPhelp | 2022-10-12
  • Doctrine Extensions

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

    Project mention: Build an audit log for your Symfony app with Doctrine events | reddit.com/r/PHP | 2022-09-19
  • 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.

  • PHP-CRUD-API

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

    Project mention: Single file PHP script that adds a REST API to a SQL database | news.ycombinator.com | 2023-01-15
  • Eloquent

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

    Project mention: Suggestions for MySQL wrapper or helper or interface library for PHP? | reddit.com/r/PHPhelp | 2022-10-12
  • RedBean

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

  • Baum

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

    Project mention: How to handle create in CRUD application | reddit.com/r/laravel | 2022-08-20

    Maybe you want to look into the Nested Set pattern: https://en.wikipedia.org/wiki/Nested_set_model. Here is a Laravel package implemeting that: https://github.com/etrepat/baum

  • 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

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

  • mysqldump-php

    PHP version of mysqldump cli that comes with MySQL

    Project mention: Periodic Database Backup to Gitlab Private Repository Using Flysystem and Cronjob | dev.to | 2022-02-11

    Mysqldump PHP by ifsnop

  • Cycle ORM

    PHP DataMapper, ORM (by cycle)

  • laravel

    Reliese Laravel Model Generator (by reliese)

    Project mention: Using pre-existing database - HELP | reddit.com/r/laravel | 2022-07-17
  • Doctrine2 Behaviors

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

  • laravel-eloquent-query-cache

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

  • PHPAuth

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

  • upscheme

    Database migrations and schema updates made easy

    Project mention: Symfony Station Communiqué — 11 February 2022. A look at Symfony and PHP news. | dev.to | 2022-02-11

    Speaking of Symfony-based e-commerce platforms, Aimeos announced “Since 2022.01 beta, the Aimeos core is using Upscheme for updating the database schema and migrating data between new releases. Upscheme is composer package for schema management based on Doctrine DBAL which offers an easy to use API. You can also integrate Upscheme it in your own application easily and this article explains the differences and how you can write migrations with only a few lines of code”

  • pomf

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

    Project mention: Trying to find a file sharing platform which I used to use | reddit.com/r/PrivacyGuides | 2022-11-01

    Maybe a chibisafe instance? Or a pomf instance (or pomf-like clone).

  • SleekDB

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

    Project mention: SleekwareDB - Process | dev.to | 2022-05-21

    From the very beginning of my encounter with this library, strange thoughts and images flashed through my head. Then came a part of me asking and giving suggestions for doing the appreciating process for SleekDB creators by building something on the basis of it, like I did for donjajo.

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

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-15.

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,471
2 dbal 8,938
3 Adminer 5,540
4 laravel-backup 5,142
5 ProxyManager 4,845
6 Medoo 4,614
7 Doctrine Extensions 3,856
8 PHP-CRUD-API 3,238
9 Eloquent 2,521
10 RedBean 2,251
11 Baum 2,226
12 Idiorm 2,016
13 laravel-tags 1,372
14 Propel 1,233
15 mysqldump-php 1,135
16 Cycle ORM 1,086
17 laravel 1,056
18 Doctrine2 Behaviors 886
19 laravel-eloquent-query-cache 867
20 PHPAuth 859
21 upscheme 782
22 pomf 779
23 SleekDB 748
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.
www.sonarlint.org