Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aydinhassan/bernard-container-interop-router

A Container Interop Router for Bernard -> https://github.com/bernardphp
https://github.com/aydinhassan/bernard-container-interop-router

Last synced: 1 day ago
JSON representation

A Container Interop Router for Bernard -> https://github.com/bernardphp

Awesome Lists containing this project

README

        

# Container Interop Router for Bernard PHP

* Bernard -> https://github.com/bernardphp/bernard
* Container Interop -> https://github.com/container-interop/container-interop

## Installation

```shell
composer require trash-panda/bernard-container-interop-router
```

## Usage

```php
use TrashPanda\BernardContainerInteropRouter\ContainerInteropAwareRouter;
use Bernard\Consumer;

$router = new ContainerInteropAwareRouter($yourContainer);
$consumer = new Consumer($router, $dispatcher);
```