imemento/http-responses

v8.1.0 2021-07-26 08:47 UTC

This package is auto-updated.

Last update: 2024-10-26 21:09:06 UTC


README

Build Status Latest Stable Version License Total Downloads

This packages provides a standard library of responses to be used in all the iMemento Services.

Install

composer require imemento/http-responses

Usage

return new MethodNotAllowedResponse($content = '', $headers = []);

Each response has a specific http status code assigned to it.