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

Recommend this page to a friend!
  Info   View files Documentation   View files View files (15)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2020-07-21 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 30 All time: 9,988 This week: 136Up
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: 16 packages by
Country: 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 folder image Files  
File Role Description
Files folder imageTests (3 files, 1 directory)
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Plain text file ServiceClient.php Class Class source

  Files folder image Files  /  Tests  
File Role Description
Files folder imageConf (6 files)
  Plain text file ServiceClientTests.php Class Class source
  Plain text file ServiceClientUnitTest.php Class Class source
  Plain text file ServiceClientUnitTests.php Class Class source

  Files folder image Files  /  Tests  /  Conf  
File Role Description
  Accessible without login Plain text file construct-with-login.json Data Auxiliary data
  Accessible without login Plain text file login-as.json Data Auxiliary data
  Accessible without login Plain text file login-with-invalid-session-id.json Data Auxiliary data
  Accessible without login Plain text file self-id.json Data Auxiliary data
  Accessible without login Plain text file self-login.json Data Auxiliary data
  Accessible without login Plain text file test-request.json Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:30
This week:0
All time:9,988
This week:136Up

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