coercive / headerstatus
Coercive HeaderStatus Utility
Installs: 1 348
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.4.0
This package is auto-updated.
Last update: 2024-11-09 14:12:10 UTC
README
HeaderStatus lets you simply send HTTP response status.
Get
composer require coercive/headerstatus
Usage
use Coercive\Utility\HeaderStatus # SEND - 200 Defalut Status HeaderStatus::send(); # SEND - Your Status : Example 301 HeaderStatus::send( 301 ); # SEND - Force don't use php function "http_response_code" HeaderStatus::send( 418, TRUE );