- Notifications
You must be signed in to change notification settings - Fork0
imbo/imbo-mysql-adapters
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
MySQL database adapters forImbo.
composer require imbo/imbo-mysql-adapters
This package provides MySQL adapters for Imbo usingPDO.
$database =newImbo\Database\MySQL($dsn,$username,$passord,$options);
If you want to run the integration tests you will need a running MySQL service. The repo contains a simple configuration file forDocker 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
MIT, seeLICENSE.