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

This package is auto-updated.

Last update: 2024-04-06 22:06:15 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.