platx/yii2-http-error-helper Helper for triggering http exceptions

httperrorsexceptions

Yii2 Http Error Helper

Helper for triggering http exceptions

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist platx/yii2-http-error-helper "*"

or add

"platx/yii2-http-error-helper": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \platx\httperror\HttpError::the404('Not found!') ?>

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

No stable releases.

Comments



No stable releases.



MIT license
Stats
0 github stars & 0 github forks
0 downloads in the last day
5 downloads in the last 30 days
2353 total downloads