PHP Classes


Recommend this page to a friend!
  Classes of Alexey Dodonov  >  Mezon Service PHP API Client  >  >  Download  
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Mezon Service PHP API Client
Send HTTP requests to remote service APIs
Author: By
Last change:
Date: 2 years ago
Size: 1,115 bytes


Class file image Download

Service client Build Status codecov Scrutinizer Code Quality


Mezon provides simple client services based on the Mezon framework.


Just print in console

composer require mezon/service-client

And that's all )


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

$client = new \Mezon\Service\ServiceClient('');

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.