MetaBase

Super simple yet powerful PHP persistence, MetaBase is a hash-based database abstraction layer.

Simple Interface

The idea behind MetaBase is super simple and is best illustrated by the usage of it’s two primary methods.

    <?php
    $metabase->pStore( 'somekey', 'somedata' );
    echo $metabase->pFetch( 'somekey' );
    // output: somedata
    ?>

Now you can store and retrieve data across requests and between different processes without the use of PHP Sessions.

Lightweight and Portable

Thanks to our sweet build process you only need one file, put it wherever and include() it in your application. That’s it!, no puzzling paths or lengthy integrations to deal with.

Beautiful Object Oriented PHP5

We’ve taken the time to design a flexible and extensible system written in Object Oriented PHP not Spaghetti Code PHP.

Modular Storage Drivers

MetaBase comes with drivers for Filesystem and Memcache drivers. Additionally, SQLite, MySQL, Amazon S3, CouchDB, and REST based data storage engine drivers are in the works. The driver interface is very simple so you can write your own storage engine drivers.

Pluggable Data Filtering

A modular filter system lets you transform your data before it’s stored and as it’s being fetched. This allows for data encryption, compress, or write your own filter.

Flexible Licensing

MetaBase is dual licensed so it can be used in open source PHP projects as well as commercial PHP applications and frameworks. Our Commercial license is a royalty-free, propetual license that removes any obligation to release any source code under GPL.

Coming Soon

Data encryption and compression filters. Amazon S3, CouchDB, and REST storage drivers.

Keywords: PHP Data Abstraction Layer, Hash-Based Datastore, Amazon S3 Storage Driver, CouchDB Client, REST Database, PHP persistence, PHP SESSIONS, PHP Library, Memcached