Download the PHP package lexpress/mongodb-service-provider without Composer
On this page you can find all versions of the php package lexpress/mongodb-service-provider. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lexpress/mongodb-service-provider
More information about lexpress/mongodb-service-provider
Files in lexpress/mongodb-service-provider
Download lexpress/mongodb-service-provider
More information about lexpress/mongodb-service-provider
Files in lexpress/mongodb-service-provider
Vendor lexpress
Package mongodb-service-provider
Short Description Silex Service Provider for MongoDB extension
License MIT
Package mongodb-service-provider
Short Description Silex Service Provider for MongoDB extension
License MIT
Please rate this library. Is it a good library?
Informations about the package mongodb-service-provider
LExpress / MongoDBServiceProvider
Parameters
-
mongodb.server: (optional) Server to connect.
Example:'mongodb.server' => 'mongodb://127.0.0.1:27017,127.0.0.1:27018'
- mongodb.options: Array of MongoDB options
- db: DB name (required)
- username: Authentication user
- password: Authentication password
- replicaSet: ReplicaSet name
Services
- mongodb: Instance of
MongoDB
Using multiple connections
You can use many MongoDB connections by registering the service provider multiple times with a different prefix passed to the constructor.
That will register 2 services: mongodb.db1
and mongodb.db2
.
All versions of mongodb-service-provider with dependencies
PHP Build Version
Package Version
The package lexpress/mongodb-service-provider contains the following files
Loading the files please wait ....