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 = array('dir' => '/path/to/database/dir/');
$users = new Flintstone('users', $options);

Requirements

  • Any flavour of PHP 5.3+ should do
  • [optional] PHPUnit to execute the test suite

Data types

Flintstone can store the following data types:

  • Strings
  • Integers
  • Floats
  • Arrays

License

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