PHPackages                             csi0n/laravel-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. csi0n/laravel-request

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

csi0n/laravel-request
=====================

Simple management laravel validation.

1.0(9y ago)02591MITPHPPHP &gt;=5.5.9

Since May 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/csi0n/laravel-request)[ Packagist](https://packagist.org/packages/csi0n/laravel-request)[ RSS](/packages/csi0n-laravel-request/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (1)

### Laravel Request

[](#laravel-request)

\####简介

> 简单的分离Laravel请求规则

\####实例 #####表单

```

    {{csrf_field()}}
    @crulemethod("other_method")
    First name:

    Last name:

```

\#####Request中

```
   function setCRule()
    {
        CRule::COMMON([
            'first' => 'required'
        ]);
        CRule::CUSTOM('other_method',[
            'last' => 'required'
        ]);
//        CRule::POST([
//            'first' => 'required',
//            'last' => 'required'
//        ]);
//        CRule::PATCH([
//            'last' => 'required'
//        ]);
    }

```

\####使用方法

app.php-&gt;providers中添加:

```
csi0n\Laravel\Request\Providers\CLaravelRequestServiceProvider::class

```

app.php-&gt;aliases中添加:

```
'CRule' => csi0n\Laravel\Request\Facades\CLaravelRequestFacade::class

```

使用的Request需要继承

```
csi0n\Laravel\Request\Requests\CLaravelRequest

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

3287d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/615df6bd544fe4a080a4bcb94bbfdc8aafc0bfea62329feba457019eff97db7a?d=identicon)[csi0n](/maintainers/csi0n)

---

Top Contributors

[![csi0n](https://avatars.githubusercontent.com/u/8362811?v=4)](https://github.com/csi0n "csi0n (1 commits)")

---

Tags

laravelhelperrequests

### Embed Badge

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

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[cartalyst/support

Support helpers.

762.8M14](/packages/cartalyst-support)

PHPackages © 2026

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