glavweb / mongodb-bundle
There is no license information available for the latest version (v0.2.1) of this package.
Symfony GlavwebMongoDBBundle.
v0.2.1
2019-06-07 03:19 UTC
Requires
- php: >=7.1
- symfony/framework-bundle: ^2.8|^3.2|^4.0
This package is auto-updated.
Last update: 2024-11-07 14:46:08 UTC
README
Get the bundle using composer
Add GlavwebMongoDBBundle by running this command from the terminal at the root of your Symfony project:
php composer.phar require glavweb/mongodb-bundle
Enable the bundle
To start using the bundle, register the bundle in your application's kernel class:
// app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Glavweb\MongoDBBundle\GlavwebMongoDBBundle(), // ... ); }
Configure the bundle
glavweb_mongo_db: host: "%mongodb_host%" dbname: "%mongodb_dbname%" user: "%mongodb_user%" password: "%mongodb_password%"