MongoStorage is a project mainly written in PHP, based on the View license.
Classes to simplify the utilization of the Mongodb GridFS
Simple File Storage classes for MongoDB+GridFS
Classes:
See how it works at test files, enjoy!