Recommend this page to a friend! |
Download .zip |
Info | Documentation | View files (15) | Download .zip | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 39 | All time: 10,864 This week: 206 |
Version | License | PHP version | Categories | |||
service-client 1.0.0 | MIT/X Consortium ... | 7.2 | HTTP, PHP 5, Web services |
Description | Author | |
This package be used to send HTTP requests to remote service APIs. |
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('https://some-service.com/');
And since then you can connect to this service:
client->connect('login', 'password');
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% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.