PHPackages                             mactape/la-rules - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. mactape/la-rules

ActiveProject[Validation &amp; Sanitization](/categories/validation)

mactape/la-rules
================

Laravel rules for verifying the correctness of entered personal data

1.1(1y ago)0247MITPHPPHP ^8.2

Since Apr 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/yulchurin/la-rules)[ Packagist](https://packagist.org/packages/mactape/la-rules)[ RSS](/packages/mactape-la-rules/feed)WikiDiscussions main Synced 1mo ago

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

lrvl-rules-t
============

[](#lrvl-rules-t)

Laravel Rules for check personal data

### Installation

[](#installation)

`composer require mactape/la-rules`

### Usage

[](#usage)

```
namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;
use MacTape\LaRules\CorrectPhone;

class SomeFormRequest extends FormRequest
{
    public function authorize(): bool
    {
        return true;
    }

    public function rules(): array
    {
        return [
            'phone' => ['required', 'string', new CorrectPhone],
            'password' => 'required|string|min:6',
        ];
    }
}

```

### Available rules:

[](#available-rules)

- CorrectPhone
- CorrectOgrn
- CorrectInn
- CorrectSnils

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance46

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Every ~0 days

Total

2

Last Release

403d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f7c3e7770bb561634a1e624c7e173c494843d38054f715da3d7f0f7693dbdc7d?d=identicon)[mactape](/maintainers/mactape)

---

Top Contributors

[![yulchurin](https://avatars.githubusercontent.com/u/53298305?v=4)](https://github.com/yulchurin "yulchurin (10 commits)")

### Embed Badge

![Health badge](/badges/mactape-la-rules/health.svg)

```
[![Health](https://phpackages.com/badges/mactape-la-rules/health.svg)](https://phpackages.com/packages/mactape-la-rules)
```

###  Alternatives

[carsdotcom/laravel-json-schema

Json Schema validation for Laravel projects

1036.7k3](/packages/carsdotcom-laravel-json-schema)

PHPackages © 2026

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