imbo / imbo-sqlite-adapters
SQLite adapters for Imbo
Installs: 1 886
Dependents: 1
Suggesters: 1
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Open Issues: 0
Requires
- php: >=8.3
- ext-pdo: *
- ext-pdo_sqlite: *
- imbo/imbo-pdo-adapters: dev-main
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.70
- imbo/imbo: dev-main
- imbo/imbo-adapters-sdk: dev-main
- imbo/imbo-coding-standard: ^2.0
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.1
- phpstan/phpstan-phpunit: ^2.0
- phpunit/phpunit: ^12.0
This package is auto-updated.
Last update: 2025-02-24 07:43:40 UTC
README
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.