monolyth/frontal

Monolyth unframework Front controller package

1.1.7 2025-03-06 15:16 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