2017 © Pedro Peláez
 

library order

order

image

mhndev/order

order

  • Thursday, December 8, 2016
  • by majidphpdeveloper
  • Repository
  • 1 Watchers
  • 1 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Order Service


$settings = array( 'driver' => array( // Master Connection Client 'master' => array( ## mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]] ## anything that is a special URL character needs to be URL encoded. ## This is particularly something to take into account for the password, #- as that is likely to have characters such as % in it. 'host' => 'mongodb://localhost:27017', ## Specifying options via the options argument will overwrite any options #- with the same name in the uri argument. 'options_uri' => array( ), 'options' => array( ), ), ), ); $mongoDriver = new \mhndev\order\MongoDriverManager(); $mongoDriver->addClient(new MongoDB\Client($settings['driver']['master']['host'] ), 'master' ); $mongoClient = $mongoDriver->byClient('master'); $db = $mongoClient->selectDatabase('order');

The Versions

08/12 2016

dev-develop

dev-develop

order

  Sources   Download

MIT

The Requires

 

The Development Requires

order