mezon PHP WebService Client: Send call to Web service registered in a directory

Recommend this page to a friend!
  Info   Documentation   View files (15)   Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2020-07-21 (13 days ago) Not yet rated by the usersTotal: 22 This week: 22All time: 9,985 This week: 10
Version License PHP version Categories
mezon-service-client 1.0MIT/X Consortium ...5PHP 5, Web services
Description Author

This class can send call to Web service registered in a directory.

It takes the name of Web service previously registered in a directory to obtain the Web service URL.

Then the class can send HTTP requests to the specified Web service URL using a given user name and password.

Picture of Alexey Dodonov
  Performance   Level  
Name: Alexey Dodonov <contact>
Classes: 13 packages by
Country: Russian Federation Russian Federation
Age: ???
All time rank: 336091 in Russian Federation Russian Federation
Week rank: 3 1 in Russian Federation Russian Federation
Innovation award
Innovation award
Nominee: 1x

Details

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.

  Files  
File Role Description
Tests (3 files, 1 directory)
.travis.yml Data Auxiliary data
composer.json Data Auxiliary data
composer.lock Data Auxiliary data
phpunit.xml Data Auxiliary data
README.md Doc. Documentation
ServiceClient.php Class Class source

  Files  /  Tests  
File Role Description
Conf (6 files)
   ServiceClientTests.php Class Class source
   ServiceClientUnitTest.php Class Class source
   ServiceClientUnitTests.php Class Class source

  Files  /  Tests  /  Conf  
File Role Description
   construct-with-login.json Data Auxiliary data
   login-as.json Data Auxiliary data
   login-with-invalid-session-id.json Data Auxiliary data
   self-id.json Data Auxiliary data
   self-login.json Data Auxiliary data
   test-request.json Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:22
This week:22
All time:9,985
This week:10

For more information send a message to info at phpclasses dot org.