Skip to content

A simple PHP library for doing RESTful HTTP stuff

License

Notifications You must be signed in to change notification settings

honzatrtik/Resty.php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Resty.php

A simple PHP library for doing RESTful HTTP stuff. Does not require the curl extension.

Example

<?php
require __DIR__."/Resty.php";

$resty = new Resty();
$resty->debug(true);
$resty->setBaseURL('https://gimmebar.com/api/v1/');
$resp = $resty->get('public/assets/funkatron');
print_r($resp);

About

A simple PHP library for doing RESTful HTTP stuff

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%