teknoo / curl-request
Allow you to create and execute HTTP Requests with cURL in POO context. Fork from zeroem/curl-bundle
Installs: 29 348
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 12
Open Issues: 0
Requires
- php: >=5.4.0
Requires (Dev)
- phpunit/phpunit: ~4.0
- phpunit/phpunit-mock-objects: ~2.3
- phpunit/phpunit-selenium: ~1.4
- phpunit/phpunit-story: ~1.0
Replaces
- unialteri/curl-request: 1.0.5
This package is not auto-updated.
Last update: 2019-11-29 09:25:06 UTC
README
Welcome and thank you to having downloaded this library. This library allows you to easily create and execute HTTP Requests with cURL. It was a fork from zeroem/curl-bundle". Symfony dependencies has been removed, and this lib has been redesigned.
Simple example
$generator = new Teknoo\Curl\RequestGenerator();
$request = $generator->getRequest();
//Fetch the URL http://teknoo.it with a GET Method.
$request->setUrl('http://teknoo.it')
->setMethod('GET');
echo $request->execute();
Installation & Requirements
To install this library with composer, run this command :
composer require teknoo/curl-request
This library requires :
- PHP 5.4+
- cUrl extension
Quick Howto
Quick How-to to learn how use this library : Startup.
API Documentation
Generated documentation from the library with PhpDocumentor : Open.
Credits
- Richard Déloge - richarddeloge@gmail.com - Lead developer.
- Teknoo Software - http://teknoo.software.
About Teknoo Software
Teknoo Software is a PHP software editor, founded by Richard Déloge. Teknoo Software's DNA is simple : Provide to our partners and to the community a set of high quality services or software, sharing knowledge and skills.
License
States is licensed under the MIT and GPL3+ Licenses - see the licenses folder for details
Contribute :)
You are welcome to contribute to this project. Fork it on Github