Download the PHP package rcastera/mongo without Composer
On this page you can find all versions of the php package rcastera/mongo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rcastera/mongo
More information about rcastera/mongo
Files in rcastera/mongo
Download rcastera/mongo
More information about rcastera/mongo
Files in rcastera/mongo
Vendor rcastera
Package mongo
Short Description Mongo Abstraction Class
License MIT
Homepage http://www.richardcastera.com
Package mongo
Short Description Mongo Abstraction Class
License MIT
Homepage http://www.richardcastera.com
Please rate this library. Is it a good library?
Informations about the package mongo
Monga
A simple class for working with MongoDB. Those new to Mongo, should go through the SQL to Mongo Mapping Chart
Setup
Add a composer.json
file to your project:
Then provided you have composer installed, you can run the following command:
That will fetch the library and its dependencies inside your vendor folder. Then you can add the following to your .php files in order to use the library (if you don't already have one).
Then you need to use
the relevant class, and instantiate the class. For example:
Getting Started
Examples
Find all documents from contacts collections.
Find all documents and sort by name in ascending order.
Find all documents where name = 'Richard Castera'.
Find where name = 'Richard Castera' and update address.
Insert new document.
Delete a document.
Contributing
- Fork it.
- Create a branch (
git checkout -b my_branch
) - Commit your changes (
git commit -am "Added something"
) - Push to the branch (
git push origin my_branch
) - Create an Issue with a link to your branch
- Enjoy a refreshing Coke and wait
All versions of mongo with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
ext-mongo Version *
ext-mongo Version *
The package rcastera/mongo contains the following files
Loading the files please wait ....