# php-curl-class/php-curl-class

PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs

Repository: https://github.com/php-curl-class/php-curl-class
Canonical: https://ross.abutalabs.com/products/php-curl-class
Homepage: https://www.phpcurlclass.com/
Language: PHP
License: Unlicense
License Family: permissive
Topics: php, curl, class, api, api-client, client, framework, http, http-client, http-proxy, json, php-curl, php-curl-library, proxy, requests, restful, web-scraper, web-scraping, web-service, xml
Last push: 2026-08-26T21:42:18+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 80, longevity 100
- inputs: {"age_days": 4765, "days_push": 7, "days_rel": 135, "gap_med": 15, "n_releases_24m": 12}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3297, forks 805 (observed 2026-08-28T04:07:55.559275+00:00)

## What it is
PHP Curl Class is a PHP library that wraps PHP's cURL extension in a simple object-oriented API for sending HTTP requests. It supports GET, POST, and other methods, authentication, proxies, and automatic JSON/XML response handling for integrating with web APIs.

## Use cases
- send http requests from php
- call rest apis in php
- scrape web pages with php
- post json to an api
- use http proxy with curl in php
- download files over http in php

## When to choose
- you want a simple object-oriented wrapper around PHP cURL
- you need quick HTTP client code without verbose curl_* calls
- you need proxy, basic auth, or cookie support in PHP

## When to avoid
- you are using a framework that already bundles an HTTP client like Guzzle
- you need async or concurrent requests as a first-class feature
- you are not working in PHP

## Facets
- artifact type: library
- maturity: active
- function: http-client, web-scraping, json, api-framework
- domain: web-development, apis, crawlers, developer-tools
- platform: php, cli
- tags: curl, http-requests, rest-client, proxy-support, composer, web-server

## Member repositories
- php-curl-class/php-curl-class (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:55.559275+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:22:42.240962+00:00, confidence not recorded.
  - readme: https://github.com/php-curl-class/php-curl-class (fetched 2026-08-28T04:07:55.559275+00:00, sha b079ea667b26)
  - homepage: https://www.phpcurlclass.com/ (fetched 2026-08-29T09:35:34.406368+00:00, sha 9a8fccf5fdd5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
