2017 © Pedro Peláez
 

library psr-11-bridge

PSR-11 bridge for Zapheus framework.

image

zapheus/psr-11-bridge

PSR-11 bridge for Zapheus framework.

  • Thursday, April 26, 2018
  • by rougin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PSR-11 Bridge

![Latest Version on Packagist][ico-version] Software License Build Status ![Coverage Status][ico-scrutinizer] Quality Score ![Total Downloads][ico-downloads], (*1)

Converts PSR-11 containers to Zapheus containers and vice versa. Also contains an implementation of PSR-11., (*2)

Installation

Install PSR-11 Bridge via Composer:, (*3)

``` bash $ composer require zapheus/psr-11-bridge, (*4)


## Basic Usage ### PSR-11 to Zapheus Install a PSR-11 compliant package first (e.g [League Container](http://container.thephpleague.com)): ``` bash $ composer require league/container

``` php use Zapheus\Bridge\Psr\Zapheus\Container;, (*5)

$psr = new League\Container\Container;, (*6)

// ... set dependencies here, (*7)

// Zapheus\Container\ContainerInterface $container = new Container($psr);, (*8)


### Zapheus to PSR-11 ``` php use Zapheus\Bridge\Psr\Interop\Container; $zapheus = new Zapheus\Container\Container; // ... set dependencies here // Psr\Container\ContainerInterface $container = new Container($zapheus);

Changelog

Please see CHANGELOG for more information what has changed recently., (*9)

Testing

bash $ composer test, (*10)

Credits

License

The MIT License (MIT). Please see LICENSE for more information., (*11)

The Versions

26/04 2018

dev-master

9999999-dev https://github.com/zapheus/psr-11-bridge

PSR-11 bridge for Zapheus framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

container bridge psr-11 zapheus