scaffoldeducation/response-json-php

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

1.0.0 2020-07-23 12:17 UTC

This package is auto-updated.

Last update: 2024-09-26 20:36:49 UTC


README

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!