Skip to content

karvaka/yii2-teapot-http-exception

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

I'm a teapot

Yii2 missing "I'm a teapot" HTTP exception.

Installation

The preferred way to install this extension is through composer.

$ composer require deathburger/yii2-teapot-http-exception

Usage

<?php
use deathburger\teapot\TeapotHttpException;

if($developer->noIdeaWhichHttpStatusINeed()) {
    throw new TeapotHttpException("I'm a teapot");
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages