satyakresna/json-response

This package is abandoned and no longer maintained. No replacement package was suggested.

Return response to json

0.2 2019-08-23 07:02 UTC

This package is auto-updated.

Last update: 2022-01-23 12:28:00 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License

A mini library to convert your response include header status code to JSON. This actually based on this gist but I modified parameter position and I want to use it as a library.

Installation

composer require satyakresna/json-response

Usage

Please find the usage on sample file