2017 © Pedro Peláez
 

library spot-provider

A league/container service provider for Spot ORM.

image

laasti/spot-provider

A league/container service provider for Spot ORM.

  • Friday, November 25, 2016
  • by nebulousGirl
  • Repository
  • 1 Watchers
  • 1 Stars
  • 220 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 5 Versions
  • 3 % Grown

The README.md

Laasti/spot-provider

A league/container service provider for Spot ORM., (*1)

Installation

composer require laasti/spot-provider

Usage


$config = [ 'name' => 'default', //required //String DSN 'dsn' => '', //OR, full array 'adapter' => '', 'host' => '', //required 'dbname' => '', //required 'user' => '', //required 'password' => '', //required 'port' => '', 'protocol' => '', 'socket' => '', 'dbsyntax' => '', ]; $container = new League\Container\Container(); $container->add('config.connections', [ [ 'name' => 'default', //... ] ]); $container->addServiceProvider('Laasti\SpotProvider\SpotProvider'); $container->get('Spot\Locator');//OR, $container->get('spot.locator.default'); $container->add('Acme\MyMapper')->withArguments(['Spot\Locator']); $container->add('Acme\MyMsSqlMapper')->withArguments(['spot.locator.mssql']);

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

See CHANGELOG.md for more information., (*2)

Credits

Author: Sonia Marquette (@nebulousGirl), (*3)

License

Released under the MIT License. See LICENSE.txt file., (*4)

The Versions

25/11 2016

dev-master

9999999-dev

A league/container service provider for Spot ORM.

  Sources   Download

MIT

The Requires

 

25/11 2016

v2.1.1

2.1.1.0

A league/container service provider for Spot ORM.

  Sources   Download

MIT

The Requires

 

23/11 2016

v2.1

2.1.0.0

A league/container service provider for Spot ORM.

  Sources   Download

MIT

The Requires

 

21/04 2016

v2.0

2.0.0.0

A league/container service provider for Spot ORM.

  Sources   Download

MIT

The Requires

 

27/08 2015

v1.0

1.0.0.0

A league/container service provider for Spot ORM.

  Sources   Download

MIT

The Requires