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

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

lion/request
============

Library created to request input data and response requests

v8.1.0(2mo ago)24.9k↑925%3MITPHPPHP &gt;=8.5CI passing

Since May 17Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/Lion-Packages/request)[ Packagist](https://packagist.org/packages/lion/request)[ RSS](/packages/lion-request/feed)WikiDiscussions 8.x Synced 1mo ago

READMEChangelog (10)Dependencies (12)Versions (39)Used By (3)

[![presentation-lion-packages](https://private-user-images.githubusercontent.com/56183278/530369523-cff89a81-bd12-4614-b494-4602b5f28547.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzM4MTgyNjUsIm5iZiI6MTc3MzgxNzk2NSwicGF0aCI6Ii81NjE4MzI3OC81MzAzNjk1MjMtY2ZmODlhODEtYmQxMi00NjE0LWI0OTQtNDYwMmI1ZjI4NTQ3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzE4VDA3MTI0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUwMjg4YWE2ZmE0MjhlOGJhMDYwNWExNzNkMDE0MzM3MDZlZjUwZmYwMjYxMjc2OGI0NGU5M2NlMTNlZDJjNmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.LE0yBxXMiOh2qpp-gKU4wBjLJXD5y46SNoKn2jXu3IU)](https://private-user-images.githubusercontent.com/56183278/530369523-cff89a81-bd12-4614-b494-4602b5f28547.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzM4MTgyNjUsIm5iZiI6MTc3MzgxNzk2NSwicGF0aCI6Ii81NjE4MzI3OC81MzAzNjk1MjMtY2ZmODlhODEtYmQxMi00NjE0LWI0OTQtNDYwMmI1ZjI4NTQ3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzE4VDA3MTI0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUwMjg4YWE2ZmE0MjhlOGJhMDYwNWExNzNkMDE0MzM3MDZlZjUwZmYwMjYxMjc2OGI0NGU5M2NlMTNlZDJjNmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.LE0yBxXMiOh2qpp-gKU4wBjLJXD5y46SNoKn2jXu3IU) [ ![Latest Stable Version](https://camo.githubusercontent.com/ffb79edbba01f0033f8ea27c1bc35bd50f8754c4c18b189133af7509fce08da3/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f726571756573742f76) ](https://packagist.org/packages/lion/request) [ ![Total Downloads](https://camo.githubusercontent.com/4c0e80d853895e4ed4ccfde7099cad4b9510397149b8b8b6eb6b945617f7b08c/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f726571756573742f646f776e6c6f616473) ](https://packagist.org/packages/lion/request) [ ![License](https://camo.githubusercontent.com/047b978c0152ebd8c15c60e9f5e5920efcf44ea4675681dff82b7dd379115b3f/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f726571756573742f6c6963656e7365) ](https://github.com/lion-packages/request/blob/main/LICENSE) [ ![PHP Version Require](https://camo.githubusercontent.com/8283057084b49a7e4e45cdd473d3436887be8a09810c5cbd4bd502da0f31bf80/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f726571756573742f726571756972652f706870) ](https://www.php.net/)

🚀 **Lion-Request** Library created to request input data and HTTP response requests.

---

📖 Features
----------

[](#-features)

✔️ HTTP protocols and status codes.
✔️ Define server headers for the client.
✔️ Support for returning response objects.
✔️ Constants for response objects.

---

📦 Installation
--------------

[](#-installation)

Install the request using **Composer**:

```
composer require lion/request
```

📝 License
---------

[](#-license)

The **request** is open-sourced software licensed under the [MIT License](https://github.com/lion-packages/request/blob/main/LICENSE).

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance85

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

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

Every ~37 days

Recently: every ~22 days

Total

38

Last Release

77d ago

Major Versions

v4.0 → v5.02022-07-14

v5.4.0 → v6.0.02023-10-28

v6.10.0 → v7.0.02024-12-01

6.x-dev → v7.11.02025-09-06

7.x-dev → v8.0.02025-12-26

PHP version history (6 changes)v5.0PHP &gt;=8.0

v5.1PHP &gt;=8.1

v6.1.0PHP &gt;=8.2

v6.7.0PHP &gt;=8.3

v7.0.0PHP &gt;=8.4

v8.0.0PHP &gt;=8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/1419758fcb0259274d35f6d2cbfb5a60694baa74e99437d32dfec9a0d5c10d65?d=identicon)[lion-packages](/maintainers/lion-packages)

---

Top Contributors

[![Sleon4](https://avatars.githubusercontent.com/u/56183278?v=4)](https://github.com/Sleon4 "Sleon4 (144 commits)")[![GabrielPalac](https://avatars.githubusercontent.com/u/162063476?v=4)](https://github.com/GabrielPalac "GabrielPalac (12 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (11 commits)")[![LeinadAlberto](https://avatars.githubusercontent.com/u/127895160?v=4)](https://github.com/LeinadAlberto "LeinadAlberto (7 commits)")[![mcesmeralda](https://avatars.githubusercontent.com/u/96641807?v=4)](https://github.com/mcesmeralda "mcesmeralda (4 commits)")[![MMarioLP](https://avatars.githubusercontent.com/u/105904645?v=4)](https://github.com/MMarioLP "MMarioLP (3 commits)")[![Santiago1010](https://avatars.githubusercontent.com/u/48629173?v=4)](https://github.com/Santiago1010 "Santiago1010 (3 commits)")[![jerezjustin](https://avatars.githubusercontent.com/u/132396080?v=4)](https://github.com/jerezjustin "jerezjustin (1 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

httpjsonphprequestsresponse

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/lion-request/health.svg)](https://phpackages.com/packages/lion-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)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

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

78126.4M414](/packages/react-http)

PHPackages © 2026

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