lib / curl
A simple cURL wrapper for PHP
Installs: 88 751
Dependents: 5
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2024-11-29 04:19:49 UTC
README
A simple class for wrapping curl
#Install with Composer
{
"require": {
"lib/curl": "0.2"
}
}
#Usage
<?php
use Curl\Request;
$curl = new Request();
$curl->url = 'http://www.somewebsite.com/';
$curl->post = array(
'username' => 'admin',
'password' => 'derp'
);
$curl->timeout = 400;
$result = $curl->execute();
var_dump($result);