Wp-SQLite-db: A single file drop-in for using a SQLite database with WordPress

thunderbong1 pts0 comments

GitHub - aaemnnosttv/wp-sqlite-db: A single file drop-in for using a SQLite database with WordPress. Based on the original SQLite Integration plugin. · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

aaemnnosttv

wp-sqlite-db

Public

Notifications<br>You must be signed in to change notification settings

Fork<br>91

Star<br>586

master

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>110 Commits<br>110 Commits

.github/workflows

.github/workflows

src

src

tests

tests

.gitignore

.gitignore

CHANGELOG.md

CHANGELOG.md

README.md

README.md

composer.json

composer.json

phpunit.xml.dist

phpunit.xml.dist

View all files

Repository files navigation

wp-sqlite-db

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

Installation

Quick Start

Clone or download this repository

Copy src/db.php into the root of your site's wp-content directory

Via Composer

composer require koodimonni/composer-dropin-installer

Add the configuration to your project's composer.json under the extra key

"extra": {<br>"dropin-paths": {<br>"wp-content/": ["package:aaemnnosttv/wp-sqlite-db:src/db.php"]

composer require aaemnnosttv/wp-sqlite-db

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/');<br>define('DB_FILE', 'custom_filename_for_sqlite_database');

Credit

This project is based on the SQLite Integration plugin by Kojima Toshiyasu.

About

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

Resources

Readme

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

586<br>stars

Watchers

17<br>watching

Forks

91<br>forks

Report repository

Releases

v1.3.3

Latest

Mar 19, 2026

+ 5 releases

Packages

Uh oh!

There was an error while loading. Please reload this page.

Uh oh!

There was an error while loading. Please reload this page.

Contributors

Uh oh!

There was an error while loading. Please reload this page.

Languages

PHP<br>100.0%

You can’t perform that action at this time.

sqlite database reload composer file drop

Related Articles