ray / aura-web-module
aura/web module for Ray.Di
Installs: 209 134
Dependents: 4
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
This package is auto-updated.
Last update: 2024-11-07 06:52:17 UTC
README
Installation
Composer install
$ composer require ray/aura-web-module
Module install
use Ray\AuraWebModule\AuraWebModule; use Ray\Di\AbstractModule; class AppModule extends AbstractModule { protected function configure() { $this->install(new AuraWebModule); } }
DI trait
- AuraWebRequestInject for
Aura\Web\Request
interface - AuraWebResponseInject for
Aura\Web\Request
interface
Demo
$ php docs/demo/run.php
// It works!
Requiuments
- PHP 5.4+
- hhvm