monolyth / frontal
Monolyth unframework Front controller package
1.1.3
2023-02-17 16:05 UTC
Requires
- php: >=8.1
- laminas/laminas-diactoros: ^2.24
- laminas/laminas-httphandlerrunner: ^2.5
- league/pipeline: ^0.1.0
Requires (Dev)
- gentry/gentry: ^0.13.12
- gentry/toast: ^0.1.1
- toast/unit: ^2.0
Suggests
- filp/whoops: PHP errors for cool kids
- monolyth/plumber: Monolyth utilities
- twig/twig: Twig templating engine
This package is auto-updated.
Last update: 2024-12-25 02:17:35 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