Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 892 Bytes

README.md

File metadata and controls

33 lines (19 loc) · 892 Bytes

SQLite database adapters for Imbo

CI

SQLite database adapters for Imbo.

Installation

composer require imbo/imbo-sqlite-adapters

Usage

This package provides SQLite adapters for Imbo using PDO.

$database = new Imbo\Database\SQLite($dsn, $options);

Running integration tests

If you want to run the integration tests you will to create a local SQLite3 database:

sqlite3 /tmp/imbo-sqlite-integration-test.sq3 < setup/000-imbo.sql

When the database exists with the initial tables created you can execute all tests by simply running PHPUnit:

composer run test # or ./vendor/bin/phpunit

License

MIT, see LICENSE.