pawel-jakowczyk / entry-script
Entry script for middleware based applications
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/pawel-jakowczyk/entry-script
Requires
This package is auto-updated.
Last update: 2025-10-07 01:14:05 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.