PHPackages                             firstvector/simplephpcurl - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. firstvector/simplephpcurl

ActiveLibrary[HTTP &amp; Networking](/categories/http)

firstvector/simplephpcurl
=========================

Simple library for performing cURL requests

02PHP

Since Oct 22Pushed 10y agoCompare

[ Source](https://github.com/Firstvector/SimplePHPCurl)[ Packagist](https://packagist.org/packages/firstvector/simplephpcurl)[ RSS](/packages/firstvector-simplephpcurl/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

SimplePHPCurl
=============

[](#simplephpcurl)

Simple library for performing **cURL** requests.

Usage
-----

[](#usage)

An example of request with authorization via OAuth or Bearer token.

```
const CONSUMER_KEY = 'value';
const CONSUMER_SECRET = 'value';
const OAUTH_ACCESS_KEY = 'value';
const OAUTH_ACCESS_SECRET = 'value';

$token = new SimplePHPCurl\OAuthToken(CONSUMER_KEY, CONSUMER_SECRET, OAUTH_ACCESS_KEY, OAUTH_ACCESS_SECRET);
// $token = new SimplePHPCurl\BearerToken('https://api.twitter.com/oauth2/token', CONSUMER_KEY, CONSUMER_SECRET);

$curl = new SimplePHPCurl\Request('https://api.twitter.com/1.1/statuses/user_timeline.json');
$curl->authorization($token);
$curl->get([
    'screen_name' => 'firstvector',
    'count' => 2,
]);
var_dump(
    $curl->execute()
);
```

An example of simple GET request.

```
$curl = new SimplePHPCurl\Request('http://firstvector.org');
$curl->get();
var_dump(
    $curl->execute()
);
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e8b4c73b9ba0729e2c5b690cbdb63bfbe982130513b0c9d64c6c26e1d4d32ff?d=identicon)[BR0kEN-](/maintainers/BR0kEN-)

---

Top Contributors

[![BR0kEN-](https://avatars.githubusercontent.com/u/2760616?v=4)](https://github.com/BR0kEN- "BR0kEN- (6 commits)")

### Embed Badge

![Health badge](/badges/firstvector-simplephpcurl/health.svg)

```
[![Health](https://phpackages.com/badges/firstvector-simplephpcurl/health.svg)](https://phpackages.com/packages/firstvector-simplephpcurl)
```

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78026.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
