PHPackages                             resty/resty - 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. resty/resty

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

resty/resty
===========

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

0.6.0(12y ago)142340.8k—5.8%12[1 issues](https://github.com/fictivekin/Resty.php/issues)3Apache 2.0JavaScriptPHP &gt;=5.3.0

Since Dec 22Pushed 12y ago18 watchersCompare

[ Source](https://github.com/fictivekin/Resty.php)[ Packagist](https://packagist.org/packages/resty/resty)[ Docs](https://github.com/fictivekin/resty.php)[ RSS](/packages/resty-resty/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (7)Used By (3)

Resty.php
=========

[](#restyphp)

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

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

[](#installation)

Use [composer](https://getcomposer.org/) to install Resty:

1. Install composer into your project:

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

```

Create a `composer.json` file in your project root:

```
{
    "require": {
        "resty/resty": "@stable"
    }
}
```

Install via composer:

```
php composer.phar install

```

Example
-------

[](#example)

```
