Async SQLite database, lightweight non-blocking process wrapper around file-based database extension (ext-sqlite3), built on top of ReactPHP.
MIT License
Feature: Forward compatibility with upcoming Promise v3.
(#63 by @clue)
Feature: Full PHP 8.2+ compatibility.
(#64 by @clue and #62 by @SimonFrings)
Improve test suite, ensure 100% code coverage and report failed assertions.
(#65 and #66 by @clue)
Published by SimonFrings almost 3 years ago
Feature: Support running from PHAR.
(#55 by @clue)
Feature: Simplify internal JSON-RPC protocol by avoiding unneeded escapes.
(#56 by @clue)
Feature: Support upcoming PHP 8.1 release.
(#49 by @SimonFrings)
Feature: Support passing custom PHP binary as optional argument to Factory
.
(#45 and #46 by @clue)
// advanced usage: pass custom PHP binary to use when spawning child process
$factory = new Clue\React\SQLite\Factory(null, '/usr/bin/php6.0');
Feature: Support using blocking SQLite adapter when using an empty binary path.
(#48 by @clue)
// advanced usage: empty binary path runs blocking SQLite in same process
$factory = new Clue\React\SQLite\Factory(null, '');
Feature: Use default php
binary instead of respecting PHP_BINARY
when automatic binary detection fails for non-CLI SAPIs.
(#50 by @clue)
Published by SimonFrings about 3 years ago
Feature: Simplify usage by supporting new default loop.
(#39 by @clue and #44 by @SimonFrings)
// old (still supported)
$factory = new Clue\React\SQLite\Factory($loop);
// new (using default loop)
$factory = new Clue\React\SQLite\Factory();
Feature: Reject null byte in path to SQLite database file.
(#42 by @SimonFrings)
Maintenance: Improve documentation and examples.
(#38 by @PaulRotmann and #43 by @SimonFrings)