2017 © Pedro PelĂĄez
 

symfony-bundle mongator-bundle

Bundle to use Mongator with Symfony2

image

mongator/mongator-bundle

Bundle to use Mongator with Symfony2

  • Saturday, June 7, 2014
  • by dario1985
  • Repository
  • 1 Watchers
  • 0 Stars
  • 54 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 8 % Grown

The README.md

Mongator Symfony Bundle, (*1)

Mongator Bundle Build Status Coverage Status

Bundle to use Mongator ODM with Symfony2 (forked from MandangoBundle)., (*2)

Getting started

Installation

To install mongator-bundle with Composer, just add the following to your composer.json file:, (*3)

// composer.json
{
    "require": {
        "mongator/mongator-bundle": "1.1.*"
    }
}

Then update the dependency, (*4)

$ php composer.phar update mongator/mongator-bundle

Or you can do this in one command:, (*5)

$ php composer.phar require mongator/mongator-bundle:1.1.*

Enable the bundle

You need to register the bundle in AppKernel:, (*6)


// app/AppKernel.php class AppKernel extends Kernel { // ... public function registerBundles() { $bundles = array( // ..., new Mongator\MongatorBundle\MongatorBundle() ); // ... } }

Configure Mongator

Add Mongator to your configuration:, (*7)

# app/config/config.yml
mongator:
    default_connection: local
    connections:
        local:
            server:   mongodb://localhost:27017
            database: symfony2_local_%kernel.environment%

Activate the profiler in the developing environment:, (*8)

# app/config/config_dev.yml
mongator:
    logging: true

Documentation

See the documentation in http://mandango.org/doc/, (*9)

The Versions

07/06 2014

dev-master

9999999-dev

Bundle to use Mongator with Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dario Mancuso

mongodb mongator

31/05 2014

v1.1.1

1.1.1.0

Bundle to use Mongator with Symfony2

  Sources   Download

MIT

The Requires

 

by Dario Mancuso

mongodb mongator

03/05 2014

v1.1.0

1.1.0.0

Bundle to use Mongator with Symfony2

  Sources   Download

MIT

The Requires

 

mongodb mongator

18/09 2012

v1.0.0

1.0.0.0

Bundle to use Mandango with Symfony2

  Sources   Download

MIT

The Requires

 

mongodb mandango