dev-master
9999999-devA friendly curl wrapper for PHP.
GPL-3.0
The Requires
The Development Requires
0.2.2
0.2.2.0A friendly curl wrapper for PHP.
GPL-3.0
The Development Requires
0.2.1
0.2.1.0curl wrapper
GPL-3.0
The Requires
A friendly curl wrapper for PHP.
A PHP wrapper class to simplify PHP cURL Library., (*1)
Following code shows how to use this class, (*2)
$http = new dcai\curl; // enable cache $http = new dcai\curl(array('cache'=>true)); // enable cookie $http = new dcai\curl(array('cookie'=>true)); // enable proxy $http = new dcai\curl(array('proxy'=>true)); // HTTP GET $response = $http->get('http://example.com'); // HTTP POST $response = $http->post('http://example.com/', array('q'=>'words', 'name'=>'moodle')); // POST RAW $xml = '<action>perform</action>'; $response = $http->post('http://example.com/', $xml); // HTTP PUT $response = $http->put('http://example.com/', array('file'=>'/var/www/test.txt');
A friendly curl wrapper for PHP.
GPL-3.0
A friendly curl wrapper for PHP.
GPL-3.0
curl wrapper
GPL-3.0