Opis Database

Installation, licensing and requirements

This version of the library is no longer maintained. Please consider upgrading to the latest release

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 the developers.

The library has support for the following database types: MySQL, PostgreSQL, Microsoft SQL, SQLite, Firebird, IBM DB2, Oracle, NuoDB.

License

Opis Database is licensed under Apache License, Version 2.0.

Requirements

  • PHP 5.3.0 or higher
  • PDO

Installation

Opis Database is available on Packagist and can be installed using Composer.

{
    "require": {
        "opis/database": "^3.6.8"
    }
}

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/opis/database-3.6.8/autoload.php';