PHPackages                             skeeks/yii2-curl - 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. skeeks/yii2-curl

ActiveYii2-extension[HTTP &amp; Networking](/categories/http)

skeeks/yii2-curl
================

Easy and nice cURL extension with RESTful support for Yii2

1.1.0(9y ago)520.5k↓35.3%[1 issues](https://github.com/skeeks-semenov/yii2-curl/issues)BSD-3-ClausePHP

Since Jun 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/skeeks-semenov/yii2-curl)[ Packagist](https://packagist.org/packages/skeeks/yii2-curl)[ RSS](/packages/skeeks-yii2-curl/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (5)Used By (0)

yii2-curl extension
===================

[](#yii2-curl-extension)

Cool working curl extension for Yii2, including RESTful support:

- POST
- GET
- HEAD
- PUT
- DELETE
- PATCH
- OPTIONS

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

[](#requirements)

- Yii2
- PHP 5.4+
- Curl and php-curl installed

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

```
php composer.phar require --prefer-dist skeeks/yii2-curl "*"
```

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code. The following example shows you how to handling a simple GET Request.

```
