hollisho/lumen-request
http Request For Lumen
10
Larablocks Analysis
hollisho/lumen-request works with Laravel 6 and 8 (latest release v1.0.1, Oct 15, 2024), all past end of life (the last on Jan 24, 2023): no more fixes, even for security.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Supports only Laravel 6 and 8, past end of life since Jan 24, 2023
- No release in the last 12 months (last: Oct 15, 2024)
- 0 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Oct 15, 2024.
- No releases in the last 12 months.
- First released: Oct 15, 2024.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.
| Install | |
|---|---|
composer require hollisho/lumen-request |
|
| Latest Version: | v1.0.1 |
| PHP: | ^7.0 |
| Laravel: | 6 · 8 |
| License: | MIT |
| Last Updated: | Oct 15, 2024 |
| Links: | GitHub · Packagist |
Maintainer: hollisho
install
composer require hollisho/lumen-request
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)
{
......
}
}
Related Packages
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.0.1 | ^7.0 | ^6.0 || | MIT |