PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Alexey Dodonov   mezon PHP WebService Client   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: mezon PHP WebService Client
Send call to Web service registered in a directory
Author: By
Last change:
Date: 3 years ago
Size: 1,115 bytes
 

Contents

Class file image Download

Service client Build Status codecov Scrutinizer Code Quality

Intro

Mezon provides simple client services based on the Mezon framework.

Installation

Just print in console

composer require mezon/service-client

And that's all )

Setup

First of all you need to create client and set to wich service it must send requests:

$client = new \Mezon\Service\ServiceClient('https://some-service.com/');

And since then you can connect to this service:

client->connect('login', 'password');

Default methods

You already know about one out-of-the box method - connect. But there are more of them.