PHP Libraries, Frameworks, and Tools - MongoDB (MongoDB) (PHP) (Framework)
jinyuky
PHP Libraries, Frameworks, and Tools - MongoDB
http://www.mongodb.org/display/DOCS/PHP+Libraries%2C+Frameworks%2C+and+Tools
PHP Libraries, Frameworks, and Tools
The PHP community has created a huge number of libraries to make working with MongoDB easier and integrate it with existing frameworks.
CakePHP
- MongoDB datasource for CakePHP. There's also an introductory blog post on using it with Mongo.
Codeigniter
Doctrine
ODM (Object Document Mapper) is an experimental Doctrine MongoDB object mapper. The Doctrine\ODM\Mongo namespace is an experimental project for a PHP 5.3 MongoDB Object Mapper. It allows you to easily write PHP 5 classes and map them to collections in MongoDB. You just work with your objects like normal and Doctrine will transparently persist them to Mongo.
This project implements the same "style" of the Doctrine 2 ORM project interface so it will look very familiar to you and it has lots of the same features and implementations.
- Documentation - API, Reference, and Cookbook
- Official blog post
- Screencast
- Blog post on using it with Symfony
- Bug tracker
Drupal
- MongoDB Integration - Views (query builder) backend, a watchdog implementation (logging), and field storage.
Fat-Free Framework
Fat-Free is a powerful yet lightweight PHP 5.3+ Web development framework designed to help you build dynamic and robust applications - fast!
Kohana Framework
- Mango at github
An ActiveRecord-like library for PHP, for the Kohana PHP Framework.
See also PHP Language Center#MongoDb PHP ODM further down.
Lithium
Lithium supports Mongo out-of-the-box.
- Tutorial on creating a blog backend.
Log4php
Memcached
- MongoNode
PHP script that replicates MongoDB objects to Memcached.
Symfony 2
Symfony 2 Logger
A centralized logger for Symfony applications. See the blog post.sfMongoSessionStorage - manages session storage via MongoDB with symfony.
sfStoragePerformancePlugin - This plugin contains some extra storage engines (MongoDB and Memcached) that are currently missing from the Symfony (>= 1.2) core.
Vork
Vork, the high-performance enterprise framework for PHP natively supports MongoDB as either a primary datasource or used in conjunction with an RDBMS. Designed for scalability & Green-IT, Vork serves more traffic with fewer servers and can be configured to operate without any disk-IO.
Vork provides a full MVC stack that outputs semantically-correct XHTML 1.1, complies with Section 508 Accessibility guidelines & Zend-Framework coding-standards, has SEO-friendly URLs, employs CSS-reset for cross-browser display consistency and is written in well-documented object-oriented E_STRICT PHP5 code.
An extensive set of tools are built into Vork for ecommerce (cc-processing, SSL, PayPal, AdSense, shipment tracking, QR-codes), Google Maps, translation & internationalization, Wiki, Amazon Web Services, Social-Networking (Twitter, Meetup, ShareThis, YouTube, Flickr) and much more.
Zend Framework
Shanty Mongo is a prototype mongodb adapter for the Zend Framework. It's intention is to make working with mongodb documents as natural and as simple as possible. In particular allowing embeded documents to also have custom document classes.
ZF Cache Backend
A ZF Cache Backend for MongoDB. It support tags and auto-cleaning.There is a Zend_Nosql_Mongo component proposal.
Stand-Alone Tools
ActiveMongo
ActiveMongo is a really simple ActiveRecord for MongoDB in PHP.
There's a nice introduction to get you started at http://crodas.org/activemongo.php.
MapReduce API
A MapReduce abstraction layer. See the blog post.
- MongoDB-MapReduce-PHP at github
MongoDb PHP ODM
MongoDb PHP ODM is a simple object wrapper for the Mongo PHP driver classes which makes using Mongo in your PHP application more like ORM, but without the suck. It is designed for use with Kohana 3 but will also integrate easily with any PHP application with almost no additional effort.
Mongodloid
A nice library on top of the PHP driver that allows you to make more natural queries ($query->query('a == 13 AND b >= 8 && c % 3 == 4');), abstracts away annoying $-syntax, and provides getters and setters.
Morph
A high level PHP library for MongoDB. Morph comprises a suite of objects and object primitives that are designed to make working with MongoDB in PHP a breeze.
- Morph at code.google.com
simplemongophp
Very simple layer for using data objects see blog post
- simplemongophp at github
Uniform Server 6-Carbo with MongoDB and phpMoAdmin
The Uniform Server is a lightweight WAMP server solution for running a web server under Windows without having anything to install; just unpack and run it. Uniform Server 6-Carbo includes the latest versions of Apache2, Perl5, PHP5, MySQL5 and phpMyAdmin. The Uniform Server MongoDB plugin adds the MongoDB server, phpMoAdmin browser administration interface, the MongoDB PHP driver and a Windows interface to start and stop both Apache and MongoDB servers. From this interface you can also start either the Mongo-client or phpMoAdmin to administer MongoDB databases.
- Uniform Server 6-Carbo and MongoDB plugin at SourceForge
- Uniform Server web site
via ~ PHP Libraries, Frameworks, and Tools - MongoDB
Search: MongoDB
Search: PHP
Search: Framework