2017 © Pedro Peláez
 

wordpress-dropin wp-sqlite-db

SQLite drop-in database driver for WordPress

image

aaemnnosttv/wp-sqlite-db

SQLite drop-in database driver for WordPress

  • Sunday, June 17, 2018
  • by aaemnnosttv
  • Repository
  • 1 Watchers
  • 1 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

wp-sqlite-db

Test Packagist Packagist, (*1)

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

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": {
    "dropin-paths": {
        "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., (*3)

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

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

Credit

This project is based on the SQLite Integration plugin by Kojima Toshiyasu., (*5)

The Versions

17/06 2018

dev-master

9999999-dev

SQLite drop-in database driver for WordPress

  Sources   Download

GPL-2.0+

The Requires