lagdo / dbadmin-driver-sqlite
DbAdmin driver for SQLite.
Installs: 142
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
pkg:composer/lagdo/dbadmin-driver-sqlite
Requires
- lagdo/dbadmin-driver: ^0.15
Requires (Dev)
- behat/behat: ^3.10
- dvdoug/behat-code-coverage: 5.0.*
- php-coveralls/php-coveralls: ^2.5
- phpunit/phpcov: ^8.2
- phpunit/phpunit: ^9.5
README
DbAdmin drivers for SQLite
This package is based on Adminer.
It provides SQLite drivers for Jaxon DbAdmin, and implements the interfaces defined in https://github.com/lagdo/dbadmin-driver.
It requires either the php-sqlite3 or the pdo_sqlite PHP extension to be installed, and uses the former by default.
Installation
Install with Composer.
composer require lagdo/dbadmin-driver-sqlite
Configuration
Declare the directories containing the databases in the packages section on the Jaxon config file. Set the driver option to sqlite.
Databases are files with extension db, sdb or sqlite.
'app' => [ 'packages' => [ Lagdo\DbAdmin\DbAdminPackage::class => [ 'servers' => [ 'server_id' => [ // A unique identifier for this server 'driver' => 'sqlite', 'name' => '', // The name to be displayed in the dashboard UI. 'directory' => '', // The directory containing the database files. ], ], ], ], ],
Check the Jaxon DbAdmin documentation for more information about the package usage.