2017 © Pedro Peláez
 

library mongolid-bundle

Easy, powerful and ultrafast MongoDB ODM Bundle for Symfony.

image

plansky/mongolid-bundle

Easy, powerful and ultrafast MongoDB ODM Bundle for Symfony.

  • Tuesday, August 12, 2014
  • by rplansky
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

MongoLid, (*1)

MongoLid Bundle for Symfony

MongoLid is an easy, powerful and ultrafast MongoDB ODM. You can see more information in the MongoLid Laravel Package, (*2)

Getting Started

Installation

Add "plansky/mongolid-bundle": "dev-master" to "require" key in composer.json, (*3)

"require": {
    ...
    "plansky/mongolid-bundle": "dev-master"
}

Run composer update plansky/mongolid-bundle, (*4)

Bundle Registration

Register MongolidBundle in AppKernel class, (*5)

$bundles = array(
    ...
    new Plansky\MongolidBundle\MongolidBundle(),
);

Configure MongoDB Connection

Edit app/config/config.yml file adding the MongoDB connection, (*6)

mongolid:
    connections:
        default:
            hostname: 'localhost'
            port: 27017
            username: null
            password: null
            database: 'mongolid'

Extends BaseDocument

To start using MongoLid just extends Plansky\MongolidBundle\Document\BaseDocument, (*7)

class MyDocument extends \Plansky\MongolidBundle\Document\BaseDocument
{
    /**
     * Collection's that will be used to persist my document
     * @var string
     */
    protected $collection = 'my_collection';
}

Enjoy =), (*8)

License

MIT, (*9)

Resources

The Versions

12/08 2014

dev-master

9999999-dev https://www.github.com/rplansky/mongolid-bundle

Easy, powerful and ultrafast MongoDB ODM Bundle for Symfony.

  Sources   Download

MIT

The Requires

 

mongodb database nosql odm

12/08 2014

v0.1-beta

0.1.0.0-beta https://www.github.com/rplansky/mongolid-bundle

Easy, powerful and ultrafast MongoDB ODM Bundle for Symfony.

  Sources   Download

MIT

The Requires

 

mongodb database nosql odm

12/08 2014

dev-develop

dev-develop https://www.github.com/rplansky/mongolid-bundle

Easy, powerful and ultrafast MongoDB ODM Bundle for Symfony.

  Sources   Download

MIT

The Requires

 

mongodb database nosql odm