scaffoldeducation/request-service-php

PHP library using Guzzle base to send request to any services. Good to use in microservice architecture

1.0.0 2020-08-08 19:03 UTC

This package is auto-updated.

Last update: 2024-09-11 22:58:33 UTC


README

Latest Version codecov Build Status Total Downloads PRs Welcome

PHP library using Guzzle base to send request to any services. Good to use in microservice architecture.

Installation

Requires PHP 7.1.

The recommended way to install is through Composer.

composer require kiwfy/request-service-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/RequestSample.php
php sample/RequestImageSample.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!