2017 © Pedro Peláez
 

library restlyte

A simple REST client library implemented in PHP.

image

lamoni/restlyte

A simple REST client library implemented in PHP.

  • Wednesday, January 7, 2015
  • by lamoni
  • Repository
  • 1 Watchers
  • 0 Stars
  • 55 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

RESTLyte

RESTLyte is a simple REST client library implemented in PHP., (*1)

Examples

$rest = new RESTLyte(
    "https://spaceexample.io",  // Server
    "username",                 // Username
    "password",                 // Password
    false,                      // SSL Checking?
    [                           // Array of custom HTTP headers to send with the API call
        'Cache-Control: no-cache'
    ]
);

$response = $rest->get(
    '/api/space/device-management/devices', // API call
    'JSON',                                 // Response handler (RAW | JSON | XML)
    'application/vnd.net.juniper.space.device-management.devices+json;version=1' // "Accept: "
);

The Versions

07/01 2015

dev-master

9999999-dev https://github.com/lamoni/restlyte

A simple REST client library implemented in PHP.

  Sources   Download

MIT

The Requires

  • php >= 5.4.16

 

by Lamoni Finlayson

php rest simple

07/01 2015

v1.0.0

1.0.0.0 https://github.com/lamoni/restlyte

A simple REST client library implemented in PHP.

  Sources   Download

MIT

The Requires

  • php >= 5.4.16

 

by Lamoni Finlayson

php rest simple