Top 23 PHP Database Projects
Doctrine Object Relational Mapper (ORM)Project mention: Symfony 5 - PHP 7.4 - Should I initialize all my nullable properties to null? | reddit.com/r/symfony | 2021-04-08
Database management in a single PHP fileProject mention: CloudBeaver – Database Management from Browser | news.ycombinator.com | 2021-04-11
I have still been using Adminer via a docker image to quickly run an admin interface in a browser.
This looks a lot nicer. I remember the DBeaver name but I've not used it in a long time. I'll be using this instead of Adminer on my next project to give it a whirl.
Scout APM - Leading-edge performance monitoring starting at $39/month. 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.
The lightweight PHP database framework to accelerate development
🎩✨🌈 OOP Proxy wrappers utilities - generates and manages proxies of your objectsProject mention: I am willing to help maintain older branches of this package | news.ycombinator.com | 2020-12-27
Doctrine2 behavioral extensions, Translatable, Sluggable, Tree-NestedSet, Timestampable, Loggable, Sortable
Single file PHP script that adds a REST API to a SQL databaseProject mention: SpaceScience.tech Public API for history of all votes and messages. | reddit.com/r/Second | 2021-04-01
you can see more about its api at /openapi and https://github.com/mevdschee/php-crud-api
[READ ONLY] Subtree split of the Illuminate Database component (see laravel/framework)Project mention: IMHO: JSX > PHP Templating | reddit.com/r/PHP | 2021-03-20
In this case, getting started might be rough unless you know Laravel well, because there's not even a readme there (in contrast to e.g. https://github.com/illuminate/database#illuminate-database which has a clear guide how to use it)
Baum is an implementation of the Nested Set pattern for Laravel's Eloquent ORM.
ORM layer that creates models, config and database on the flyProject 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
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
Propel2 is an open-source high-performance Object-Relational Mapping (ORM) for modern PHP
PHP DataMapper, ORM (by cycle)Project mention: Laravel isn't working for us - What Frameworks are worth taking a look at... | reddit.com/r/PHP | 2021-03-26
It uses the (H)MVC model, anti-leak DI container, DataMapper ORM (https://github.com/cycle/orm), Symfony components, and RoadRunner (https://github.com/spiral/roadrunner) as an app server (which we also created).
Doctrine2 behavior traits
Global key-value store in the databaseProject 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
Easy-to-use PDO wrapper for PHP projects.
Spot v2.x DataMapper built on top of Doctrine's Database Abstraction Layer
Adding cache on your Laravel Eloquent queries' results is now a breeze.Project mention: Laravel-query-cache adds macros for easily caching your queries | reddit.com/r/laravel | 2021-03-05
I didn't want to use the query to cache it because I still want to have control of the key, it's mainly an alias for Cache::remember. If you want that kind of cache, there are already some packages out there (like this https://github.com/renoki-co/laravel-eloquent-query-cache)
SQL database access through PDO.
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
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
ATK Data - Data Access Framework for high-latency databases (Cloud SQL/NoSQL). (by atk4)
PHP Object Model Manager for Postgresql
What are some of the best open-source Database projects in PHP? This list will help you: