Flintstone

A key/value database store using flat files for PHP.

Features include:

  • Memory efficient
  • File locking
  • Caching
  • Gzip compression
  • Easy to use

Installation

To install Flintstone run the following command with Composer:

composer require fire015/flintstone

Or add to your composer.json file:

{
	"require": {
		"fire015/flintstone": "2.*"
	}
}

PHP Example:

<?php
require 'vendor/autoload.php';

use Flintstone\Flintstone;

$options = ['dir' => '/path/to/database/dir/'];
$users = new Flintstone('users', $options);

Requirements

  • PHP 5.6+

Data types

Flintstone can store the following data types:

  • Strings
  • Integers
  • Floats
  • Arrays
  • Null

License

Free and open source (yay), it's licensed under the MIT License.