papimod / http-error
Module Papi
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/papimod/http-error
Requires
- php: >=8.3.0
- papi/papi: ^1.1.0
- papimod/dotenv: ^1.1
Requires (Dev)
- phpunit/phpunit: ^12.5.2
- squizlabs/php_codesniffer: ^4.0.1
README
Description
Help integrate error and warning handling into your papi.
This module is based on the official tutorial.
Prerequisites Modules
Configuration
ENVIRONMENT (.ENV)
| Required | No |
| Type | PRODUCTION, DEVELOPMENT, TEST or null |
| Description | Display error details when is not set to PRODUCTION |
| Default | null |
DISABLE_BODY_PARSING_MIDDLEWARE (.ENV)
| Required | No |
| Type | 0, 1 |
| Description | Disable the built-in body parsing middleware |
| Default | 0 |
DISABLE_ROUTING_MIDDLEWARE (.ENV)
| Required | No |
| Type | 0, 1 |
| Description | Disable the built-in routing middleware |
| Default | 0 |