monolyth/frontal

Monolyth unframework Front controller package

1.0.2 2019-09-29 13:56 UTC

README

Default front controller/HTTP kernel for the Monolyth unframework

Installation

Composer (recommended)

$ composer require monolyth/frontal

Manual

  1. Download or clone the repo;
  2. Add /path/to/frontal/src for Monolyth\\Frontal\\ in your PSR-4 autoloader.

Usage

See the example directory for a working example project. You can also run the example project directly using PHP's built-in webserver:

$ cd example/httpdocs
$ php -S localhost:8000