21 best PHP Database Operations libraries in 2021

by sureshbabu

Use these currated libraries to integrate efficient database operations, functionalities and procedures in your PHP application. Get ratings, code snippets & documentation for each library.

Use the open source, cloud APIs, or public libraries listed below in your application development based on your technology preferences, such as primary language. The below list also provides a view of the components' rating on different dimensions such as community support availability, security vulnerability, and overall quality, helping you make an informed choice for implementation and maintenance of your application. Please review the components carefully, having a no license alert or proprietary license, and use them appropriately in your applications. Please check the component page for the exact license of the component. You can also get information on the component's features, installation steps, top code snippets, and top community discussions on the component details page. The links to package managers are listed for download, where packages are readily available. Otherwise, build from the respective repositories for use in your application. You can also use the source code from the repositories in your applications based on the respective license types.
m

monologby Seldaek

Sends your logs to files, sockets, inboxes, databases and various web services

PHP Updated: 3 mo ago License: Permissive

Support
Quality
Security
License
Reuse
d

dbalby doctrine

Doctrine Database Abstraction Layer

PHP Updated: 3 mo ago License: Permissive

Support
Quality
Security
License
Reuse
l

laravel-mongodbby jenssegers

A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)

PHP Updated: 6 mo ago License: Permissive

Support
Quality
Security
License
Reuse
a

adminerby vrana

Database management in a single PHP file

PHP Updated: 4 mo ago License: No License

Support
Quality
Security
License
Reuse
M

Medooby catfan

The lightweight PHP database framework to accelerate the development.

PHP Updated: 2 d ago License: Permissive

Support
Quality
Security
License
Reuse
p

phinxby cakephp

PHP Database Migrations for Everyone

PHP Updated: 3 mo ago License: Permissive

Support
Quality
Security
License
Reuse
l

l5-repositoryby andersao

Laravel 5 - Repositories to abstract the database layer

PHP Updated: 6 mo ago License: Permissive

Support
Quality
Security
License
Reuse
S

Search-Replace-DBby interconnectit

This script was made to aid the process of migrating PHP and MySQL based websites. Works with most common CMSes.

PHP Updated: 6 mo ago License: Strong Copyleft

Support
Quality
Security
License
Reuse
c

configby symfony

The Config component helps you find, load, combine, autofill and validate configuration values of any kind, whatever their source may be (YAML, XML, INI files, or for instance a database).

PHP Updated: 2 mo ago License: Permissive

Support
Quality
Security
License
Reuse
m

migrations-generatorby Xethron

Laravel Migrations Generator: Automatically generate your migrations from an existing database schema.

PHP Updated: 6 mo ago License: Permissive

Support
Quality
Security
License
Reuse
P

PHP-MySQLi-Database-Classby ThingEngineer

Wrapper for a PHP MySQL class, which utilizes MySQLi and prepared statements.

PHP Updated: 6 mo ago License: Proprietary

Support
Quality
Security
License
Reuse
l

laravel-query-builderby spatie

Easily build Eloquent queries from API requests

PHP Updated: 3 mo ago License: Permissive

Support
Quality
Security
License
Reuse
p

phpRedisAdminby erikdubbelboer

Simple web interface to manage Redis databases.

PHP Updated: 2 d ago License: No License

Support
Quality
Security
License
Reuse
p

php-crud-apiby mevdschee

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

PHP Updated: 5 mo ago License: Permissive

Support
Quality
Security
License
Reuse
f

fatfreeby bcosca

A powerful yet easy-to-use PHP micro-framework designed to help you build dynamic and robust Web applications - fast!

PHP Updated: 6 mo ago License: No License

Support
Quality
Security
License
Reuse
p

phpfastcacheby PHPSocialNetwork

A high-performance backend cache system. It is intended for use in speeding up dynamic web applications by alleviating database load. Well implemented, it can drops the database load to almost nothing, yielding faster page load times for users, better resource utilization. It is simple yet powerful.

PHP Updated: 2 mo ago License: Permissive

Support
Quality
Security
License
Reuse
i

idiormby j4mie

A lightweight nearly-zero-configuration object-relational mapper and fluent query builder for PHP5.

PHP Updated: 7 mo ago License: No License

Support
Quality
Security
License
Reuse
m

mysqldump-phpby ifsnop

PHP version of mysqldump cli that comes with MySQL

PHP Updated: 7 mo ago License: Strong Copyleft

Support
Quality
Security
License
Reuse
o

ormby cycle

PHP DataMapper, ORM

PHP Updated: 2 d ago License: Permissive

Support
Quality
Security
License
Reuse
n

notormby vrana

NotORM - PHP library for simple reading data from the database

PHP Updated: 6 mo ago License: No License

Support
Quality
Security
License
Reuse
e

ezsqlby ezSQL

PHP class to make interacting with a database ridiculusly easy

PHP Updated: 6 mo ago License: Weak Copyleft

Support
Quality
Security
License
Reuse
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items

Find more libraries on