The Curl Component contains methods that makes it easy to send HTTP requests and integrate with web APIs.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/flextype-components/curl
Requires
- php: ^7.1.3
This package is auto-updated.
Last update: 2025-09-29 02:07:32 UTC
README
The Curl Component contains methods that makes it easy to send HTTP requests and integrate with web APIs
Installation
composer require flextype-components/curl
Usage
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();
License
See LICENSE