$ composer require ray/aura-web-module
use Ray\AuraWebModule\AuraWebModule;
use Ray\Di\AbstractModule;
class AppModule extends AbstractModule
{
protected function configure()
{
$this->install(new AuraWebModule);
}
}
- AuraWebRequestInject for
Aura\Web\Request
interface - AuraWebResponseInject for
Aura\Web\Request
interface
$ php docs/demo/run.php
// It works!
- PHP 5.4+
- hhvm