Download the PHP package sylouuu/php-curl without Composer
On this page you can find all versions of the php package sylouuu/php-curl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sylouuu/php-curl
More information about sylouuu/php-curl
Files in sylouuu/php-curl
Download sylouuu/php-curl
More information about sylouuu/php-curl
Files in sylouuu/php-curl
Vendor sylouuu
Package php-curl
Short Description Lightweight PHP cURL wrapper
License MIT
Homepage https://github.com/sylouuu/php-curl
Package php-curl
Short Description Lightweight PHP cURL wrapper
License MIT
Homepage https://github.com/sylouuu/php-curl
Please rate this library. Is it a good library?
Informations about the package php-curl
PHP cURL
Requirements
- PHP >= 5.4
- cURL library enabled
Install
Composer
Usage
Methods are:
Get()
Head()
Options()
Post()
Put()
Patch()
Delete()
Constructor $options
Public methods
Examples
Basic:
Send a payload:
Manual closing:
Tests
On project directory:
composer install
to retrievephpunit
phpunit
to run tests
Changelog
2015-08-25 - 0.8.1
- fixed invalid content-length in case of no data provided
2015-07-03 - 0.8.0
- added
is_payload
option to perform a request with JSON-encoded data - fixed
ssl
option
2014-10-23 - 0.7.1
- fixed
Post()
which didn't send data in some cases
2014-08-01 - 0.7.0 (BC break)
- moved from psr-0 autoload to psr-4
- added
Method
directory, then methods are now in\sylouuu\Curl\Method\
2014-05-30 - 0.6.1
- removed exception when
data
option is not specified forPost
Put
andPatch
2014-05-22 - 0.6.0 (BC break)
- moved
url
option to the first constructor parameter
2014-05-20 - 0.5.0 (BC break)
- renamed repository from
php-rest-client
tophp-curl
- refactored all code
- added
autoclose
option - added the way to get/set cURL options
- added the way to get cURL info
- sources are now psr-2 compliant
2014-05-13 - 0.4.0 (BC break)
- renamed
RESTClient.class.php
toRESTClient.php
- moved
RESTClient.php
to/src
- moved
RESTClientTest.php
to/tests
- added
HEAD
,OPTIONS
andPATCH
support - added
getHeader
method - renamed
getJSON
togetResponse
- removed JSON validation
- added
sylouuu
namespace - removed
gulp
2014-05-09 - 0.3.0
- added
ssl
option
2014-04-06 - 0.2.1
- added exception if invalid JSON format returned
2014-04-04 - 0.2.0
- new way to retrieve result
- added HTTP status code
2014-04-01 - 0.1.0
- refactored class
- removed constructor parameter
- added unit tests
2014-03-24 - 0.0.2
- added
$api_url
as a constructor parameter
2014-02-05 - 0.0.1
- Initial release
All versions of php-curl with dependencies
PHP Build Version
Package Version
Requires
php Version
>5.3.0
The package sylouuu/php-curl contains the following files
Loading the files please wait ....