Download the PHP package z010107/yii2-curl-ext without Composer
On this page you can find all versions of the php package z010107/yii2-curl-ext. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii2-curl-ext
yii2-curl-ext extension
Cool working curl extension for Yii2, including RESTful support:
- POST
- GET
- HEAD
- PUT
- DELETE
Requirements
- Yii2
- PHP 5.4+
- Curl and php-curl installed
Installation
The preferred way to install this extension is through composer.
Usage
Once the extension is installed, simply use it in your code. The following example shows you how to handling a simple GET Request.
Changelog
Release 1.1.0 - Changelog
- Fixed
getHeaders()
pretty return array
Release 1.0.8 - Changelog
- Added
getHeaders()
method to retrieve response headers
Release 1.0.7 - Changelog
- Fixed
getInfo([, int $opt = 0 ])
exception were cURL wasn't initialized before callinggetInfo($opt)
.
Release 1.0.6 - Changelog
- Added
getInfo([, int $opt = 0 ])
method to retrieve http://php.net/manual/de/function.curl-getinfo.php data.
Release 1.0.5 - Changelog
- Made
body
callback not depending on HTTP-Status codes anymore. You can retrievebody
data on any HTTP-Status now. - Fixed Issue https://github.com/linslin/Yii2-Curl/issues/19 where override default settings break options.
- Added timeout response handling.
$curl->responseCode = 'timeout'
Release 1.0.4 - Changelog
CURLOPT_RETURNTRANSFER
is now set to true on default - https://github.com/linslin/Yii2-Curl/issues/18- Readme.md adjustments.
Release 1.0.3 - Changelog
- Fixed override of user options. https://github.com/linslin/Yii2-Curl/pull/7
- Nice formatted PHP-examples.
- Moved
parent::init();
behavior into unitTest Controller.
Release 1.0.2 - Changelog
- Added custom params support
- Added custom status code support
- Added POST-Param support and a readme example
- Removed "body" support at request functions. Please use "CURLOPT_POSTFIELDS" to setup a body now.
- Readme modifications
Release 1.0.1 - Changelog
- Removed widget support
- Edited some spellings + added more examples into readme.md
Release 1.0 - Changelog
- Official stable release
All versions of yii2-curl-ext with dependencies
PHP Build Version
Package Version
The package z010107/yii2-curl-ext contains the following files
Loading the files please wait ....