PHPackages                             aaemnnosttv/wp-sqlite-db - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. aaemnnosttv/wp-sqlite-db

ActiveWordpress-dropin[Database &amp; ORM](/categories/database)

aaemnnosttv/wp-sqlite-db
========================

SQLite drop-in database driver for WordPress

v1.3.3(3mo ago)58567.2k—0.2%92[10 issues](https://github.com/aaemnnosttv/wp-sqlite-db/issues)[3 PRs](https://github.com/aaemnnosttv/wp-sqlite-db/pulls)5GPL-2.0-or-laterPHPPHP &gt;=5.6CI failing

Since Sep 1Pushed 3mo ago17 watchersCompare

[ Source](https://github.com/aaemnnosttv/wp-sqlite-db)[ Packagist](https://packagist.org/packages/aaemnnosttv/wp-sqlite-db)[ RSS](/packages/aaemnnosttv-wp-sqlite-db/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (6)Dependencies (12)Versions (10)Used By (5)

wp-sqlite-db
============

[](#wp-sqlite-db)

[![Test](https://github.com/aaemnnosttv/wp-sqlite-db/actions/workflows/test.yml/badge.svg)](https://github.com/aaemnnosttv/wp-sqlite-db/actions/workflows/test.yml)[![Packagist](https://camo.githubusercontent.com/d4f90d3178b82097a15a2b8b753b308040ae1b21d240cdc660764aacd39ec015/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6161656d6e6e6f737474762f77702d73716c6974652d64622e737667)](https://packagist.org/packages/aaemnnosttv/wp-sqlite-db)[![Packagist](https://camo.githubusercontent.com/241f4fa56341b83ede8275875910db9282ccbcf3e0e4b114af7465fa3135320a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6161656d6e6e6f737474762f77702d73716c6974652d64622e737667)](https://packagist.org/packages/aaemnnosttv/wp-sqlite-db)

A single file drop-in for using a SQLite database with WordPress. Based on the original SQLite Integration plugin.

Installation
------------

[](#installation)

#### Quick Start

[](#quick-start)

- Clone or download this repository
- Copy `src/db.php` into the root of your site's `wp-content` directory

#### Via Composer

[](#via-composer)

- `composer require koodimonni/composer-dropin-installer`
- Add the configuration to your project's `composer.json` under the `extra` key

```
"extra": {
    "dropin-paths": {
        "wp-content/": ["package:aaemnnosttv/wp-sqlite-db:src/db.php"]
    }
}

```

- `composer require aaemnnosttv/wp-sqlite-db`

Overview
--------

[](#overview)

Once the drop-in is installed, no other configuration is necessary, but some things are configurable.

By default, the SQLite database is located in `wp-content/database/.ht.sqlite`, but you can change this using a few constants.

```
define('DB_DIR', '/absolute/custom/path/to/directory/for/sqlite/database/file/');
define('DB_FILE', 'custom_filename_for_sqlite_database');
```

Credit
------

[](#credit)

This project is based on the [SQLite Integration](https://wordpress.org/plugins/sqlite-integration/) plugin by Kojima Toshiyasu.

###  Health Score

60

—

FairBetter than 98% of packages

Maintenance79

Regular maintenance activity

Popularity53

Moderate usage in the ecosystem

Community33

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 89.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~393 days

Recently: every ~417 days

Total

8

Last Release

108d ago

Major Versions

v1.1.0 → v2.x-dev2021-02-28

PHP version history (2 changes)v1.0PHP &gt;=5.4

v1.1.0PHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/b443f89936449a1c048fcc223ea03b285a4e9c9667ffd21c0c4b3f33e46f72c9?d=identicon)[aaemnnosttv](/maintainers/aaemnnosttv)

---

Top Contributors

[![aaemnnosttv](https://avatars.githubusercontent.com/u/1621608?v=4)](https://github.com/aaemnnosttv "aaemnnosttv (98 commits)")[![mwguerra](https://avatars.githubusercontent.com/u/27717982?v=4)](https://github.com/mwguerra "mwguerra (3 commits)")[![stefanos82](https://avatars.githubusercontent.com/u/1777466?v=4)](https://github.com/stefanos82 "stefanos82 (2 commits)")[![ironprogrammer](https://avatars.githubusercontent.com/u/824344?v=4)](https://github.com/ironprogrammer "ironprogrammer (1 commits)")[![mati75](https://avatars.githubusercontent.com/u/1886416?v=4)](https://github.com/mati75 "mati75 (1 commits)")[![mcaskill](https://avatars.githubusercontent.com/u/29353?v=4)](https://github.com/mcaskill "mcaskill (1 commits)")[![superdav42](https://avatars.githubusercontent.com/u/1534605?v=4)](https://github.com/superdav42 "superdav42 (1 commits)")[![tlaverdure](https://avatars.githubusercontent.com/u/1731025?v=4)](https://github.com/tlaverdure "tlaverdure (1 commits)")[![benharri](https://avatars.githubusercontent.com/u/7453240?v=4)](https://github.com/benharri "benharri (1 commits)")[![dingo-d](https://avatars.githubusercontent.com/u/8638515?v=4)](https://github.com/dingo-d "dingo-d (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aaemnnosttv-wp-sqlite-db/health.svg)

```
[![Health](https://phpackages.com/badges/aaemnnosttv-wp-sqlite-db/health.svg)](https://phpackages.com/packages/aaemnnosttv-wp-sqlite-db)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[mediawiki/semantic-media-wiki

An extension to MediaWiki that lets you store and query structured data within wiki pages

622381.2k34](/packages/mediawiki-semantic-media-wiki)[andreyryabin/sprint.migration

bitrix migration module

210208.2k2](/packages/andreyryabin-sprintmigration)[october/rain

October Rain Library

1601.7M83](/packages/october-rain)[stuttter/ludicrousdb

LudicrousDB is a database class that supports replication, failover, load balancing, &amp; partitioning, based on Automattic's HyperDB drop-in.

563125.1k](/packages/stuttter-ludicrousdb)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
