imbo / imbo-mysql-adapters
MySQL adapters for Imbo
Installs: 2 190
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
pkg:composer/imbo/imbo-mysql-adapters
This package has no released version yet, and little information is available.
README
MySQL database adapters for Imbo.
Installation
composer require imbo/imbo-mysql-adapters
Usage
This package provides MySQL adapters for Imbo using PDO.
$database = new Imbo\Database\MySQL($dsn, $username, $passord, $options);
Running integration tests
If you want to run the integration tests you will need a running MySQL service. The repo contains a simple configuration file for Docker Compose that you can use to quickly run a MySQL instance.
If you wish to use this, run the following command to start up the service after you have cloned the repo:
docker compose up -d
After the service is running you can execute all tests by simply running PHPUnit:
composer run test # or ./vendor/bin/phpunit
License
MIT, see LICENSE.