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

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

ropendev/curl
=============

PHP POO cURL wrapper (PSR friendly) : light and simple.

1.0.3(7y ago)36.6k↓11.1%23MITPHP

Since Oct 30Pushed 7y ago1 watchersCompare

[ Source](https://github.com/RobinDev/curlRequest)[ Packagist](https://packagist.org/packages/ropendev/curl)[ Docs](https://github.com/RobinDev/curlRequest)[ RSS](/packages/ropendev-curl/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (3)

/!\\ This class is not maintained anymore. Use [PiedWeb/Curl](https://github.com/PiedWeb/Curl)
----------------------------------------------------------------------------------------------

[](#-this-class-is-not-maintained-anymore-use-piedwebcurl)

Make it easy to request a URL (or few) with PHP cURL
====================================================

[](#make-it-easy-to-request-a-url-or-few-with-php-curl)

PHP POO cURL wrapper :

- PSR compliant,
- Easy install with composer,
- Intuitive and documented
- Light (~8 ko)

Simple cURL class wich transform procedural default cURL options in object. This class is giving some shortcuts like getCookie, setMobileUserAgent, setReferrer... for a more intuitive usage. And you can set cURL's options the old way with CurlRequest::setOpt($option, $value).

All the functions are documented in the class file.

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

[](#installation)

Via [Packagist](https://packagist.org/packages/ropendev/curl) :

```
composer require ropendev/curl
```

Usage
-----

[](#usage)

### Single request

[](#single-request)

```
