Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/scaffoldeducation/request-service-php

PHP library using Guzzle base to send request to any services. Good to use in microservice architecture
https://github.com/scaffoldeducation/request-service-php

Last synced: 2 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# PHP Request Service

[![Latest Version](https://img.shields.io/github/v/release/kiwfy/request-service-php.svg?style=flat-square)](https://github.com/kiwfy/request-service-php/releases)
[![codecov](https://codecov.io/gh/kiwfy/request-service-php/branch/master/graph/badge.svg)](https://codecov.io/gh/kiwfy/request-service-php)
[![Build Status](https://img.shields.io/github/workflow/status/kiwfy/request-service-php/CI?label=ci%20build&style=flat-square)](https://github.com/kiwfy/request-service-php/actions?query=workflow%3ACI)
[![Total Downloads](https://img.shields.io/packagist/dt/kiwfy/request-service-php.svg?style=flat-square)](https://packagist.org/packages/kiwfy/request-service-php)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)

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

### Installation

Requires [PHP](https://php.net) 7.1.

The recommended way to install is through [Composer](https://getcomposer.org/).

```sh
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)
```sh
composer install --no-dev --prefer-dist
```

and run
```sh
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
```sh
composer install --dev --prefer-dist
```

Second run all validations
```sh
composer check
```

**Kiwfy - Open your code, open your mind!**