Aura.Web_Kernel

This is a kernel for the Aura.Web_Project package.

Foreword

Requirements

This kernel requires PHP 5.4 or later. Unlike Aura library packages, this kernel package has userland dependencies, which themselves may have other dependencies:

Installation

This kernel is installable and autoloadable via Composer with the following require element in your composer.json file:

"require": {
    "aura/web-kernel": "dev-develop-2"
}

Alternatively, download or clone this repository, then require or include its autoload.php file.

Tests

Build Status

This kernel has 100% code coverage with PHPUnit. To run the tests at the command line, go to the tests/kernel/ directory and issue ./phpunit.sh.

PSR Compliance

This kernel attempts to comply with PSR-1, PSR-2, and PSR-4. If you notice compliance oversights, please send a patch via pull request.

Community

To ask questions, provide feedback, or otherwise communicate with the Aura community, please join our Google Group, follow @auraphp on Twitter, or chat with us on #auraphp on Freenode.

Services

This kernel defines the following service objects in the Container:

  • aura/web-kernel:dispatcher: an instance of Aura\Dispatcher\Dispatcher
  • aura/web-kernel:request: an instance of Aura\Web\Request
  • aura/web-kernel:response: an instance of Aura\Web\Response
  • aura/web-kernel:router: an instance of Aura\Router\Router

Note that service definitions set at the kernel level may be reset at the project level.