2017 © Pedro Peláez
 

library slim-pimple-bridge

Slim Pimple Bridge. Inject's slim's dependencies into a Pimple Container

image

geggleto/slim-pimple-bridge

Slim Pimple Bridge. Inject's slim's dependencies into a Pimple Container

  • Thursday, December 3, 2015
  • by geggleto
  • Repository
  • 1 Watchers
  • 1 Stars
  • 586 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 19 % Grown

The README.md

Slim-Pimple Bridge

The Slim-Pimple Bridge allows you to "bring your own" Pimple 3.x container to a Slim 3.x application without requiring you to refactor your existing container., (*1)

Installation

composer require geggleto/slim-pimple-bridge, (*2)

Usage

The example below assumes that your Pimple\Container instance is assigned to the $myAwesomePimpleContainer variable., (*3)

``` php // Here's a default \Slim\Container. $slimContainer = new \Slim\Container();, (*4)

// Use SlimPimpleBridge::merge() to add all of the services from your container // to the $slimContainer instance. $container = SlimPimpleBridge::merge( $slimContainer, $myAwesomePimpleContainer );, (*5)

// Done! It's that easy! $app = new \Slim\App($container); ```, (*6)

The Versions

03/12 2015

dev-master

9999999-dev

Slim Pimple Bridge. Inject's slim's dependencies into a Pimple Container

  Sources   Download

MIT

The Requires

 

The Development Requires

03/12 2015

0.1.1

0.1.1.0

Slim Pimple Bridge. Inject's slim's dependencies into a Pimple Container

  Sources   Download

MIT

The Requires

 

The Development Requires

02/12 2015

0.1.0

0.1.0.0

Slim Pimple Bridge. Inject's slim's dependencies into a Pimple Container

  Sources   Download

MIT

The Requires

 

The Development Requires

01/12 2015

0.0.2

0.0.2.0

Slim Pimple Bridge. Inject's slim's dependencies into a Pimple Container

  Sources   Download

MIT

The Requires

 

The Development Requires

01/12 2015

0.0.1

0.0.1.0

Slim Pimple Bridge. Inject's slim's dependencies into a Pimple Container

  Sources   Download

MIT

The Requires

 

The Development Requires