Download the PHP package splitbrain/php-sqlite without Composer
On this page you can find all versions of the php package splitbrain/php-sqlite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download splitbrain/php-sqlite
More information about splitbrain/php-sqlite
Files in splitbrain/php-sqlite
Download splitbrain/php-sqlite
More information about splitbrain/php-sqlite
Files in splitbrain/php-sqlite
Vendor splitbrain
Package php-sqlite
Short Description A simple wrapper around pdo-sqlite with basic migration support and a few helper utils
License MIT
Package php-sqlite
Short Description A simple wrapper around pdo-sqlite with basic migration support and a few helper utils
License MIT
Please rate this library. Is it a good library?
Informations about the package php-sqlite
PHP SQLite Helper
A lightweight PHP library for working with SQLite databases with automatic schema migrations.
This does not replace a full ORM like Doctrine, but it's also like a million times lighter.
Features
- Simple helpers for common SQLite operations
- Automatic schema migrations
- Prepared statement handling
- Enables WAL journal mode, foreign key support and exceptions by default
Installation
Basic Usage
Check the SQLite class for more methods.
Schema Migrations
Place your migration files in the schema directory with filenames like:
0001.sql
- Initial schema0002.sql
- Add new tables0003.sql
- Add sample data
The library will automatically apply migrations in order when you call $db->migrate()
.
A table called opts
is automatically created to track applied migrations. You can also use this table to store
configuration values.
All versions of php-sqlite with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
ext-pdo Version *
ext-pdo_sqlite Version *
ext-pdo Version *
ext-pdo_sqlite Version *
The package splitbrain/php-sqlite contains the following files
Loading the files please wait ....