PHPackages                             matthewfl/restful - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. matthewfl/restful

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

matthewfl/restful
=================

Library for writing RESTful PHP clients.

1.0.3(12y ago)1358.9k↓44.4%2[1 PRs](https://github.com/matthewfl/restful/pulls)3MITPHP

Since Sep 28Pushed 12y ago1 watchersCompare

[ Source](https://github.com/matthewfl/restful)[ Packagist](https://packagist.org/packages/matthewfl/restful)[ Docs](http://github.com/matthewfl/restful)[ RSS](/packages/matthewfl-restful/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (15)Used By (3)

RESTful
=======

[](#restful)

Library for writing RESTful PHP clients.

[![Build Status](https://camo.githubusercontent.com/84549db0d90aff7fa8e2fccd97a957077982aad0cc80e81bd889487309680de4/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f626e696e6a612f7265737466756c2e706e67)](http://travis-ci.org/bninja/restful)

The design of this library was heavily influenced by [Httpful](https://github.com/nategood/httpful).

Requirements
------------

[](#requirements)

- [PHP](http://www.php.net) &gt;= 5.3 **with** [cURL](http://www.php.net/manual/en/curl.installation.php)
- [Httpful](https://github.com/nategood/httpful) &gt;= 0.1

Issues
------

[](#issues)

Please use appropriately tagged github [issues](https://github.com/bninja/restful/issues) to request features or report bugs.

Installation
------------

[](#installation)

You can install using [composer](#composer), a [phar](#phar) package or from [source](#source). Note that RESTful is [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md) compliant:

### Composer

[](#composer)

If you don't have Composer [install](http://getcomposer.org/doc/00-intro.md#installation) it:

```
$ curl -s https://getcomposer.org/installer | php

```

Add this to your `composer.json`:

```
{
    "require": {
        "bninja/restful": "*"
    }
}

```

Refresh your dependencies:

```
$ php composer.phar update

```

Then make sure to `require` the autoloader and initialize both:

```
