PHPackages                             poovarasudev/lara-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. poovarasudev/lara-rules

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

poovarasudev/lara-rules
=======================

A package that provides a library of reusable Laravel validation rules

1.0.0(5y ago)381MITPHPPHP 7.4

Since Feb 7Pushed 5y ago2 watchersCompare

[ Source](https://github.com/poovarasudev/lara-rules)[ Packagist](https://packagist.org/packages/poovarasudev/lara-rules)[ RSS](/packages/poovarasudev-lara-rules/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Lara Rules
==========

[](#lara-rules)

This package provides a library of reusable request validation rules for your Laravel projects.

Installation
------------

[](#installation)

Install the package using composer.

```
composer require poovarasudev/lara-rules
```

Usage
-----

[](#usage)

As per the Laravel [documentation](https://laravel.com/docs/master/validation#using-rule-objects), simply use the respective rule as per the need.

If the validation fails, the package will respond with a localized error message. If the key does not exist, it will return hard-coded English language errors.

Available rules
---------------

[](#available-rules)

The following validation rules are currently available:

RulesDescriptionAlphaSpaceDotAlpha, Space &amp; DotCitizenIdentificationCitizen checkCountryCodeCountry CodeDateAfterEqualDate After Or EqualDateBeforeEqualDate Before Or EqualDecimalDecimalDisposableEmailDisposable Email check on kickbox.comDomainDomain NameEvenNumberEven NumberFileExistsFile Exists Or NotGreaterThanGreater ThanHexColorHex Color validationIMEINumberIMEI NumberIsIPV4AddressIs IPv4 AddressIsIPV6AddressIs IPv6 AddressIsOldPasswordIs Old Password of Auth UserIsPrivateIpAddressIs Private Ip AddressIsPublicIpAddressIs Public Ip AddressLanguageCodeCountry based Language CodeLatestAppVersionIs Latest App VersionLatitudeLatitudeLocationCoordinatesLocation CoordinatesLongitudeLongitudeLowerCaseLower CaseMacAddressMac AddressMaxWordsMax WordsMissingMissingMonetaryFigureMonetary FigureMustBeWeekDayMust Be Week DayMustNotContainWordsMust Not Contain WordsOddNumberOdd NumberPhoneNumberPhone NumberRecordOwnerRecord OwnerSmallerThanSmaller ThanStrongPasswordStrong PasswordTimeZoneTime ZoneTitleCaseTitle CaseUpperCaseUpper CaseWithoutSpaceWithout SpaceThank You !!!!!
---------------

[](#thank-you-)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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

1920d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/421f0530a249d238a10857d97ca8501c80c18e69fc766f0b787e617ba1d21fcc?d=identicon)[Poovarasu](/maintainers/Poovarasu)

---

Top Contributors

[![poovarasu-mallow](https://avatars.githubusercontent.com/u/137782330?v=4)](https://github.com/poovarasu-mallow "poovarasu-mallow (3 commits)")[![poovarasudev](https://avatars.githubusercontent.com/u/45655443?v=4)](https://github.com/poovarasudev "poovarasudev (1 commits)")

### Embed Badge

![Health badge](/badges/poovarasudev-lara-rules/health.svg)

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

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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