Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/aydinhassan/bernard-container-interop-router
- Owner: AydinHassan
- License: mit
- Created: 2016-08-26T11:46:26.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-26T12:35:46.000Z (about 8 years ago)
- Last Synced: 2024-04-23T06:00:13.617Z (5 months ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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);
```