2017-25 © Pedro Peláez
 

library basic-api-client

PHP client for Basic API request

image

yuca/basic-api-client

PHP client for Basic API request

  • Wednesday, April 18, 2018
  • by adarmanto
  • Repository
  • 1 Watchers
  • 0 Stars
  • 28 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 56 % Grown

The README.md

Basic API Client

A simple PHP client to make an API request based on HTTP Basic Authentication., (*1)

Instalation

composer require yuca/basic-api-client

Usage

$client = new Yuca\BasicApiClient([
    'baseUrl' => 'https://example.com/api',
    'username' => 'username',
    'password' => 'password',
    'return' => 'array', // object or array
]);

$client->get('articles', ['limit' => 10]);

$client->post('article/create', ['title' => 'Awesome!']);

License

MIT, (*2)

The Versions

18/04 2018

dev-master

9999999-dev https://github.com/YucaApp/basic-api-client

PHP client for Basic API request

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

18/04 2018

v0.1.0

0.1.0.0 https://github.com/YucaApp/basic-api-client

PHP client for Basic API request

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires