/response-json-php

PHP library to create a response json pattern to API's

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

Response Json PHP

Latest Version Build Status Total Downloads PRs Welcome

PHP library to create a response json pattern to API's

Installation

Requires PHP 7.1.

The recommended way to install is through Composer.

composer require kiwfy/response-json-php

Sample

it's a good idea to look in the sample folder to understand how it works.

First verify if all dependencies is installed (if need anyelse)

composer install --no-dev --prefer-dist

and run

php sample/response-json-sample.php

Development

Want to contribute? Great!

The project using a simple code. Make a change in your file and be careful with your updates! Any new code will only be accepted with all viladations.

To ensure that the entire project is fine:

First install all the dev dependences

composer install --dev --prefer-dist

Second run all validations

composer check

Kiwfy - Open your code, open your mind!