PHPackages                             mediawiki/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. mediawiki/sqlite-db

ActiveMediawiki-extension[Database &amp; ORM](/categories/database)

mediawiki/sqlite-db
===================

An extension that enables the SQLite DB

03PHP

Since Jul 15Pushed 6y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

SQLite on MediaWiki
===================

[](#sqlite-on-mediawiki)

This extension is based on a [WIP in the WMF’s gerrit](https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/522614/).

How to use it
-------------

[](#how-to-use-it)

Put the following in your `composer.local.json`:

```
{
	"require": {
		"mediawiki/sqlite-db": "dev-master"
	}
}
```

and then [download composer](https://getcomposer.org/download/) and run `composer update`.

You must set the environment variable `MW_INSTALL_PATH` to your mediawiki root to use this extension.

```
$ cd YOUR_MEDIAWIKI_INSTALLATION
$ MW_INSTALL_PATH=`pwd`
$ export MW_INSTALL_PATH
```

Why this is necessary for installation
--------------------------------------

[](#why-this-is-necessary-for-installation)

In order to install on a SQLite DB this extension tells [composer](https://getcomposer.org/) how to autoload it. This is necessary so that when you specify “sqlite” as the db type during installation, it can find the right db driver. It also allows MediaWiki to use [$wgDBtype](https://www.mediawiki.org/wiki/Manual:$wgDBtype) to find the provided `DatabaseSqlitedb` class.

Because of this bootstrapping, composer’s autoloader needs to be able to use MediaWiki’s autoloader and we make it available by loading [$MW\_INSTALL\_PATH/includes/installer/Installer.php](https://www.mediawiki.org/wiki/Manual:AutoLoader.php) and using [Installer::addDBType()](https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/519681/) to tell MediaWiki’s installer about this extension.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/091004c4b32e573a26383800e11030fc01201119f53a8fa6886aa34e80edb42d?d=identicon)[hexmode](/maintainers/hexmode)

### Embed Badge

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

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M117](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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