ray / aura-web-module
aura/web module for Ray.Di
Installs: 214 659
Dependents: 4
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
This package is auto-updated.
Last update: 2024-12-07 07:00:06 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