mezon/service-client

Small service client script

1.0.17 2021-09-07 18:09 UTC

This package is auto-updated.

Last update: 2024-11-08 01:14:48 UTC


README

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.