PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 144 This week: 1All time: 9,146 This week: 560Up
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ý is available for providing paid consulting. Contact Juraj Puchký .
Classes: 17 packages by
Country: Czech Republic Czech Republic
Age: 41
All time rank: 109511 in Czech Republic Czech Republic
Week rank: 52 Up1 in Czech Republic Czech Republic Up
Innovation award
Innovation award
Nominee: 6x

Documentation

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:144
This week:1
All time:9,146
This week:560Up