The Curl Component contains methods that makes it easy to send HTTP requests and integrate with web APIs
composer require flextype-components/curl
use Flextype\Component\Curl\Curl;Performs a curl GET request.
$res = Curl::get('http://site.com/');Performs a curl POST request.
$res = Curl::post('http://site.com/login');Gets information about the last transfer.
$res = Curl::getInfo();See LICENSE