monolyth / frontal
Monolyth unframework Front controller package
1.1.7
2025-03-06 15:16 UTC
Requires
- php: >=8.1
- laminas/laminas-diactoros: ^3.5
- laminas/laminas-httphandlerrunner: ^2.11
- league/pipeline: ^0.1.0
Requires (Dev)
- gentry/gentry: ^0.16.1
- gentry/toast: ^0.2.1
- toast/unit: ^2.2.2
Suggests
- filp/whoops: PHP errors for cool kids
- monolyth/plumber: Monolyth utilities
- twig/twig: Twig templating engine
This package is auto-updated.
Last update: 2025-03-06 15:17:11 UTC
README
Default front controller/HTTP kernel for the Monolyth unframework
Installation
Composer (recommended)
$ composer require monolyth/frontal
Manual
- Download or clone the repo;
- Add
/path/to/frontal/src
forMonolyth\\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