Package Data | |
---|---|
Maintainer Username: | mtc2012 |
Maintainer Contact: | mroshangara@gmail.com (Mohammad Taghikhani) |
Package Create Date: | 2018-03-01 |
Package Last Update: | 2019-09-28 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-01-29 15:15:02 |
Package Statistics | |
---|---|
Total Downloads: | 119 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 1 |
package for request to another server
Install with composer
composer require roshangara/webservice
$webservice = new \Roshangara\Webservice\Webservice();
$webservice
->setMethod('get')
->setUrl('https://restcountries.eu/rest/v2/')
->setFunction('all')
->setParam('fullText', 'true')
->send();
\\ get array result
$webservice->getResult();