monolyth/frontal

Monolyth unframework Front controller package

1.1.0 2020-01-03 08:41 UTC

This package is auto-updated.

Last update: 2020-05-03 09:25:34 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