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

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

hollisho/lumen-request
======================

http Request For Lumen

v1.0.1(1y ago)010MITPHPPHP ^7.0

Since Oct 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/hollisho/lumen-request)[ Packagist](https://packagist.org/packages/hollisho/lumen-request)[ Docs](https://github.com/hollisho/lumen-request)[ RSS](/packages/hollisho-lumen-request/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

install
-------

[](#install)

```
composer require hollisho/lumen-request
```

basic use
---------

[](#basic-use)

```
//定义Request对象
class RequestBo extend LumenRequest
{
    public $html_content;

    public $language_edit = 0;

    public function rules()
    {
        return [
            'html_content' => ['required'],
        ];
    }

    protected function messages()
    {
        return [
            'html_content.required' => 'html_content is required',
        ];
    }
}

//在控制器中注入Reqeust
class IndexController extends Controller
{

    /**
     * @param FetchHtmlRequest $request
     * @param DomRenderService $renderService
     * @return \Illuminate\Http\JsonResponse
     */
    public function parserHtml(RequestBo $request)
    {
        ......
    }
}
```

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

571d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e8e63d951619620f1fabe34874623212834045e7ce9b77da8e47769c6e3d7a4?d=identicon)[hollisho](/maintainers/hollisho)

---

Top Contributors

[![hollisho](https://avatars.githubusercontent.com/u/13307208?v=4)](https://github.com/hollisho "hollisho (8 commits)")

---

Tags

requestlaravellumen

### Embed Badge

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

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

###  Alternatives

[palanik/lumen-cors

Cross-origin resource sharing (CORS) middleware for Lumen micro-framework.

101237.4k](/packages/palanik-lumen-cors)[neomerx/cors-illuminate

CORS (Cross-Origin Resource Sharing) support for Laravel and Lumen

4996.4k2](/packages/neomerx-cors-illuminate)[api-platform/laravel

API Platform support for Laravel

59126.4k5](/packages/api-platform-laravel)[behamin/service-proxy

for proxy or sending requests to other services with useful utilities

102.2k](/packages/behamin-service-proxy)

PHPackages © 2026

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