roshangara / webservice
package for request to another server
0.7.2
2019-09-15 12:00 UTC
Requires
- php: >=7.0
- ext-curl: *
- ext-iconv: *
- ext-soap: *
- roshangara/parser: dev-master
README
package for request to another server
Install with composer
composer require roshangara/webservice
Usage
send request
$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();