Skip to content
/ PHDE Public

PHDE is a PHP Development Environment utility

License

Notifications You must be signed in to change notification settings

sakibweb/PHDE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

PHDE

PHDE is a PHP Development Environment utility class.

PHDE provides methods for managing PHP error reporting, setting HTTP response headers, and handling file downloads.

Usage

Creating PHDE Instance

To create a PHDE instance and manage error reporting:

PHDE::debug(true); // Enable error reporting
// code here 
PHDE::errors(true); // Enable displaying error reporting

Setting HTTP Response Headers

To set HTTP response headers for API responses or file downloads:

PHDE::api(); // Set headers for API responses
PHDE::file('example.txt', 100); // Set headers for file downloads

Releases

No releases published

Packages

No packages published

Languages