carlescliment/curl
Lightweight PHP cURL wrapper by carlescliment. Simplifies making HTTP requests with an easy API for GET/POST and custom headers, options, and timeouts, returning response data and status info for quick integrations and scripting.
Accept: application/json), reducing vulnerabilities from ad-hoc CURL calls.get(), post() methods with auto-serialization).curl -v).For Executives: "This lightweight CURL wrapper lets us ship API integrations 30% faster with fewer bugs by standardizing HTTP calls. It’s a low-risk, MIT-licensed solution that avoids vendor lock-in while cutting dev time—ideal for our [specific use case, e.g., ‘partner portal’ or ‘data sync’]. The trade-off? We skip Guzzle’s overhead for now, but can migrate later if needs grow."
For Engineering:
*"This package gives us a consistent interface for all HTTP calls (e.g., client->post('/api', $data)) while keeping dependencies minimal. It’s perfect for:
For Developers:
*"Imagine never writing curl_setopt() again. This wrapper handles:
client->setMockResponse()).
Pro tip: Extend the class to add your team’s defaults (e.g., setBaseUrl(env('API_URL')))."*How can I help you explore Laravel packages today?