Opis Database is a library that provides an abstraction layer over several database systems, offering a standard way of handling database records and thus, making the differences between various SQL dialects irrelevant for developers.
The library has support for the following database types: MySQL, PostgreSQL, Microsoft SQL, SQLite, Firebird, IBM DB2, Oracle, NuoDB.
Opis Database is licensed under the Apache License, Version 2.0.
- PHP 5.3.* or higher
- PDO
This library is available on Packagist and can be installed using Composer.
{
"require": {
"opis/database": "^3.2.0"
}
}
If you are unable to use Composer you can download the
tar.gz or the zip archive file, extract the content of the archive and include de autoload.php
file into your project.
require_once 'path/to/database-3.2.0/autoload.php';
Examples and documentation about this library can be found at http://opis.io/database .