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.3(4w ago)25.5k↑306.7%3MITPHPPHP &gt;=8.5CI passing

Since May 17Pushed 4w 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 today

READMEChangelog (10)Dependencies (24)Versions (45)Used By (3)

[![presentation-lion-packages](https://private-user-images.githubusercontent.com/56183278/530369523-cff89a81-bd12-4614-b494-4602b5f28547.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODI4NTI1MjMsIm5iZiI6MTc4Mjg1MjIyMywicGF0aCI6Ii81NjE4MzI3OC81MzAzNjk1MjMtY2ZmODlhODEtYmQxMi00NjE0LWI0OTQtNDYwMmI1ZjI4NTQ3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjMwVDIwNDM0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI2MTQyYjU2YmNiYTI4ODA5Mjk0NTAwZTk0YTc2YTVkYTk0MjJhMDQ2ZGNiM2Y5NmUzNGVjNzc2MTU4YjhmOWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.qyOmvADNFoXGyhvkJy1I-Fzi45_Cea09KqCnxtNqBe4)](https://private-user-images.githubusercontent.com/56183278/530369523-cff89a81-bd12-4614-b494-4602b5f28547.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODI4NTI1MjMsIm5iZiI6MTc4Mjg1MjIyMywicGF0aCI6Ii81NjE4MzI3OC81MzAzNjk1MjMtY2ZmODlhODEtYmQxMi00NjE0LWI0OTQtNDYwMmI1ZjI4NTQ3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjMwVDIwNDM0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI2MTQyYjU2YmNiYTI4ODA5Mjk0NTAwZTk0YTc2YTVkYTk0MjJhMDQ2ZGNiM2Y5NmUzNGVjNzc2MTU4YjhmOWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.qyOmvADNFoXGyhvkJy1I-Fzi45_Cea09KqCnxtNqBe4) [ ![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

58

—

FairBetter than 98% of packages

Maintenance94

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 76.8% 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 ~23 days

Total

41

Last Release

28d 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

v7.13.0 → 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://avatars.githubusercontent.com/u/139179826?v=4)[Lion-Packages](/maintainers/lion-packages)[@lion-packages](https://github.com/lion-packages)

---

Top Contributors

[![Sleon4](https://avatars.githubusercontent.com/u/56183278?v=4)](https://github.com/Sleon4 "Sleon4 (149 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (14 commits)")[![GabrielPalac](https://avatars.githubusercontent.com/u/162063476?v=4)](https://github.com/GabrielPalac "GabrielPalac (12 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

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.8k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M90](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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