PHPackages                             somepkg/request - 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. somepkg/request

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

somepkg/request
===============

simple request package

0.0.1(1y ago)04MITPHP

Since Sep 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/somepkg/php-request)[ Packagist](https://packagist.org/packages/somepkg/request)[ RSS](/packages/somepkg-request/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

php-request
===========

[](#php-request)

A simple PHP request package

Install
-------

[](#install)

```
composer require somepkg/request
```

Usage
-----

[](#usage)

```
request_once "path/to/request/vendor/autoload.php";
```

### Simple get

[](#simple-get)

```
$data = Utils\Request::GET("https://httpbin.org/get");
var_dump($data);
```

### Simple post

[](#simple-post)

```
$data = Utils\Request::POST("https://httpbin.org/post", "name=test");
var_dump($data);
```

### Post Json

[](#post-json)

```
$data = Utils\Request::POSTJson("https://httpbin.org/post", ["name" => "test"]);
var_dump($data);
```

### With Headers

[](#with-headers)

```
$data = Utils\Request::POSTJson("https://httpbin.org/post", ["name" => "test"], [
    "Authorization: Bearer 123",
]);
var_dump($data);
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

602d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9bc0ec5743a4e542c9e9965f37b5228a5f6bf304a66059349a72bcbb4784cab3?d=identicon)[somepkg](/maintainers/somepkg)

---

Top Contributors

[![somepkg](https://avatars.githubusercontent.com/u/182623228?v=4)](https://github.com/somepkg "somepkg (1 commits)")[![sumwai](https://avatars.githubusercontent.com/u/80456704?v=4)](https://github.com/sumwai "sumwai (1 commits)")

### Embed Badge

![Health badge](/badges/somepkg-request/health.svg)

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

###  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)
