15 best PHP Database libraries in 2024
by marketing.admin@openweaver.com Updated: Feb 14, 2023
Guide Kit
The first thing to understand is that using a PHP database library like hasbids, monolog or medoo is not only an opportunity to cut development time. It also allows you to do things like load data from different sources, use caching and more. These libraries are mature and well-tested. They have been used by thousands of applications already, so there have been hundreds of millions of lines of code written for them. You can feel safe in your decisions about which library to use. Monolog is a simple logging library for PHP. It's intended to be used by developers who want to log HTTP requests, responses and exceptions that happen on their application. Monolog can be easily integrated into any project, allowing you to easily log your user's activity. Hasbids PHP database libraries are used for interacting with the eBay API to create/update auctions. Medoo PHP database libraries are used for interacting with the Amazon API to create/update products. Popular open source PHP database libraries for developers include
monologby Seldaek
Sends your logs to files, sockets, inboxes, databases and various web services
monologby Seldaek
PHP 20395 Version:3.3.1 License: Permissive (MIT)
hashidsby vinkla
A small PHP library to generate YouTube-like ids from numbers. Use it when you don't want to expose your database ids to the user.
hashidsby vinkla
PHP 4992 Version:5.0.2 License: Permissive (MIT)
Medooby catfan
The lightweight PHP database framework to accelerate the development.
Medooby catfan
PHP 4676 Version:v2.1.9 License: Permissive (MIT)
migrationsby doctrine
Doctrine Database Migrations Library
migrationsby doctrine
PHP 4534 Version:3.6.0 License: Permissive (MIT)
Search-Replace-DBby interconnectit
This script was made to aid the process of migrating PHP and MySQL based websites. Works with most common CMSes.
Search-Replace-DBby interconnectit
PHP 3880 Version:4.1.2 License: Strong Copyleft (GPL-3.0)
php-crud-apiby mevdschee
Single file PHP script that adds a REST API to a SQL database
php-crud-apiby mevdschee
PHP 3341 Version:v2.14.19 License: Permissive (MIT)
PHP-MySQLi-Database-Classby ThingEngineer
Wrapper for a PHP MySQL class, which utilizes MySQLi and prepared statements.
PHP-MySQLi-Database-Classby ThingEngineer
PHP 3162 Version:v2.9.3 License: Others (Non-SPDX)
countries-states-cities-databaseby dr5hn
🌍 Discover our global repository of countries, states, and cities! 🏙️ Get comprehensive data in JSON, SQL, XML, YAML, and CSV formats. Access ISO2, ISO3 codes, country code, capital, native language, timezones (for countries), and more. #countries #states #cities
countries-states-cities-databaseby dr5hn
PHP 5022 Version:v1.9 License: Strong Copyleft (ODbL-1.0)
phpbuby sebastianfeldmann
PHP Backup Utility - Creates and encrypts database and file backups, syncs your backups to other servers or cloud services and assists you monitor your backup process
phpbuby sebastianfeldmann
PHP 1235 Version:6.0.15 License: Others (Non-SPDX)
MaxMind-DB-Reader-phpby maxmind
PHP Reader for the MaxMind DB Database Format
MaxMind-DB-Reader-phpby maxmind
PHP 608 Version:v1.11.0 License: Permissive (Apache-2.0)
Lazer-Databaseby Lazer-Database
PHP flat file database to store data with JSON
Lazer-Databaseby Lazer-Database
PHP 256 Version:2.0.0 License: Permissive (MIT)
contact-form-7-to-database-extensionby mdsimpson
CFDB - WordPress plugin to save form submissions into a database
contact-form-7-to-database-extensionby mdsimpson
PHP 233 Version:2.10.36 License: Strong Copyleft (GPL-3.0)