PHP REST API Client: Send HTTP requests to REST API Web servers

Recommend this page to a friend!
  Info   View files Documentation   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2021-09-18 (11 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 76 This week: 23All time: 9,787 This week: 5Up
Version License PHP version Categories
php-rest-api-client 1.0.0GNU General Publi...5HTTP, PHP 5, Web services
Description Author

This package can send HTTP requests to REST API Web servers.

It can connect to a given Web server using a data provider class and sends HTTP requests to that server.

The package provides class functions to send requests of GET, POST, HEAD, PUT and DELETE.


The package can return the responses of the Web servers to the applications.

Picture of Juraj Puchký
  Performance   Level  
Name: Juraj Puchký <contact>
Classes: 17 packages by
Country: Czech Republic Czech Republic
Innovation award
Innovation award
Nominee: 6x

Details

php-rest-api-client

Simple PHP Rest API Client

Install

composer require baba/rest-api-client

Example

  use BABA\REST\API\Client\DataProvider\CURL;
  use BABA\REST\API\Client\RESTRestApiClient;
  
  $client = new RESTRestApiClient(new CURL());
  var_dump($client->get('http://api.example.com/test.REST')); 

Supports

  • CURL as Data provider

License

GPL-2.0-only

Authors

Juraj Puchký - BABA Tumise s.r.o. <info@baba.bj>

https://www.seoihned.cz - SEO optilamizace

https://www.baba.bj - Tvorba webových stránek

https://www.webtrace.cz - Tvorba portál? a ecommerce b2b/b2c (eshop?) na zakázku

Log

1.0.0 - CURL Implemented

Copyright

&copy; 2021 BABA Tumise s.r.o.

php-rest-api-client

  Files folder image Files  
File Role Description
Files folder imagesrc (3 files, 1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imageDataProvider (1 file)
  Plain text file IApiClient.php Class Class source
  Plain text file IDataProvider.php Class Class source
  Plain text file RestApiClient.php Class Class source

  Files folder image Files  /  src  /  DataProvider  
File Role Description
  Plain text file CURL.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:76
This week:23
All time:9,787
This week:5Up
For more information send a message to info at phpclasses dot org.