2017 © Pedro Peláez
 

symfony-bundle mongo-odm-bundle

Hello Symfony2 Doctrine MongoDB Bundle

image

hgtan/mongo-odm-bundle

Hello Symfony2 Doctrine MongoDB Bundle

  • Thursday, July 23, 2015
  • by hoangthienan
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

HelloDoctrineMongoDBBundle

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Build Status Coverage Status Quality Score HHVM Status Dependency Status, (*2)

SensioLabsInsight, (*3)

Just a simple example bundle using MongoDB Object Document Mapper (ODM) and the following Bundles: * DoctrineMongoDBBundle, (*4)

Installation

Step 1: Using Composer

composer.json, (*5)

    php composer.phar require hgtan/mongo-odm-bundle:dev-master

Step 2 : Register the bundle

Then register the bundle with your kernel:, (*6)

    <?php

    // in AppKernel::registerBundles()
    $bundles = array(
        // ...
        new Hgtan\Bundle\HelloDoctrineMongoDBBundle\HgtanHelloDoctrineMongoDBBundle(),
        // ...
    );

Step 3 : Configure the bundle

    # app/config/config.yml

Step 4 : Test

    $ php app/console hgtan:user:create
    Please choose a username: ahoang
    Please choose an email: hoang@example.com
    Please choose a password: 
    Created user ahoang

The Versions

23/07 2015

dev-master

9999999-dev http://hoangthienan.github.io

Hello Symfony2 Doctrine MongoDB Bundle

  Sources   Download

MIT

The Requires