pawel-jakowczyk / entry-script
There is no license information available for the latest version (0.1.0) of this package.
Entry script for middleware based applications
0.1.0
2021-06-05 20:19 UTC
Requires
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-07 03:21:10 UTC
README
This repository in index.php contains the entry script for middleware based applications.
Instalation
composer require pawel-jakowczyk/entry-script
Usage
In order to set up application using this script one must set following environmental variables:
- autoloadPath - absolute path to application autoload.php file.
- debug - 0/1 sets debug on or off.
- configPath - absolute path for routing configuration.
Routing configuration file has to return the PJ\Middleware\MiddlewareRouteCollection.