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

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/pawel-jakowczyk/entry-script

0.1.0 2021-06-05 20:19 UTC

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.