Install via Composer

Install stable release

The recommended way to install PDOdb is via Composer. It's fast, stable, and allows automatic versioning and autoloading.

composer require decmuc/pdodb

You can also view the package on GitHub or directly on Packagist .

After installation, include the class via Composer’s autoloader and add the namespace:

require 'vendor/autoload.php';

use decMuc\PDOdb\PDOdb;

You can now create an instance with new PDOdb(...) or use one of the initialization methods.

Install development version

For those who want to stay on the cutting edge, the dev-main branch includes the latest features and improvements.

composer require decmuc/pdodb:dev-main

Note: This version may include new features that are not yet fully tested. Use with caution in production environments.