I wrote a key/value store in PHP using SQLite. It's becoming the workhorse of my build process. https://github.com/grumpygamer/kvstore