seanjohnson08/mysqlite

Polyfills for SQLite to make it as compatible with MySQL queries as possible.

Maintainers

Package info

github.com/seanjohnson08/mysqlite

pkg:composer/seanjohnson08/mysqlite

Statistics

Installs: 1 738

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2026-01-19 01:11 UTC

This package is auto-updated.

Last update: 2026-03-19 01:31:45 UTC


README

MySQLite is a library of polyfills for the built-in SQLite driver to make it as compatible with MySQL queries as possible.

Installation

composer require seanjohnson08/mysqlite

Usage

$pdo = new PDO('sqlite::memory:');

// Installs polyfilled behavior to SQLite to support MySQL builtins
MySQLite::install($pdo);

// Execute MySQL as normal
$pdo->query('SELECT MONTH(`dateField`) FROM my_table');

Testing

run composer test