PHPackages                             irap/http-codes - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. irap/http-codes

ActiveLibrary[HTTP &amp; Networking](/categories/http)

irap/http-codes
===============

A package to make error codes easier.

1.2.0(1y ago)08781MITPHPPHP &gt;=7.0

Since Sep 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/iRAP-software/package-http-codes)[ Packagist](https://packagist.org/packages/irap/http-codes)[ Docs](http://gitlab.irap.org/Page/package-awesome-http-codes)[ RSS](/packages/irap-http-codes/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (8)Used By (0)

Awesome HTTP Codes Package
==========================

[](#awesome-http-codes-package)

To use this package of defines you need to manually include the

Usage
-----

[](#usage)

Download this package into your project with the command:

```
composer require irap/http-codes

```

Below is an example of using the package to return a 404 JSON response for an API request.

```
