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! | reddit.com/r/PHP | 2021-11-23

    It's tracked in this issue: https://github.com/doctrine/orm/issues/9021

  • GitHub repo Adminer

    Database management in a single PHP file

    Project mention: Random Error, can't figure out what's wrong | reddit.com/r/Wordpress | 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 | dev.to | 2021-12-30

    4. spatie/laravel-backup https://github.com/spatie/laravel-backup

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

    PHP CRUD API

  • 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“ | news.ycombinator.com | 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.

    Example: https://github.com/illuminate/database/blob/master/Eloquent/...

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

    For simple stuff I normally use idiorm https://github.com/j4mie/idiorm

  • GitHub repo Prequel

    Prequel for Laravel. Clear and concise database management.

    Project mention: What mysql gui should i use? (windows) | reddit.com/r/laravel | 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 | reddit.com/r/PHP | 2021-12-27
  • GitHub repo laravel

    Reliese Laravel Model Generator (by reliese)

    Project mention: What do you think about API Artisan? | reddit.com/r/laravel | 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 https://github.com/reliese/laravel - 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? | reddit.com/r/PHP | 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? | reddit.com/r/laravel | 2021-10-24
  • 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.

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

Index

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 99remotejobs.com. 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.
github.com/nanovms