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

Features include:

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


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:

require 'vendor/autoload.php';

use Flintstone\Flintstone;

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


  • 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


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