PHPackages                             langleyfoxall/laravel-validation-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. langleyfoxall/laravel-validation-rules

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

langleyfoxall/laravel-validation-rules
======================================

A set of commonly used validation rules, such as UK Postcodes, Phone numbers and more.

v1.0.0(7y ago)25111[1 issues](https://github.com/langleyfoxall/laravel-validation-rules/issues)LGPL-3.0-onlyPHPPHP &gt;=7.1

Since Oct 30Pushed 6y ago1 watchersCompare

[ Source](https://github.com/langleyfoxall/laravel-validation-rules)[ Packagist](https://packagist.org/packages/langleyfoxall/laravel-validation-rules)[ RSS](/packages/langleyfoxall-laravel-validation-rules/feed)WikiDiscussions master Synced today

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

Laravel Validation Rules
========================

[](#laravel-validation-rules)

A set of commonly used validation rules, such as UK Postcodes, Phone numbers and more.

[![Latest Stable Version](https://camo.githubusercontent.com/c05e99394f1bf9e5ca44f1bf08c98dfe3dd66b4383d93c8876bd256bf18566ff/68747470733a2f2f62616467656e2e6e65742f6769746875622f72656c656173652f6c616e676c6579666f78616c6c2f6c61726176656c2d76616c69646174696f6e2d72756c6573)](https://packagist.org/packages/langleyfoxall/laravel-validation-rules)[![Total Downloads](https://camo.githubusercontent.com/d272a5947f3b040ac30151b99ba4f8554d11d38bfd496a474be63fa9b45a7dc7/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f64742f6c616e676c6579666f78616c6c2f6c61726176656c2d76616c69646174696f6e2d72756c6573)](https://packagist.org/packages/langleyfoxall/laravel-validation-rules)

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

[](#installation)

You can easily install this package by using Composer. Just run the following command from the root of your project.

```
composer require langleyfoxall/laravel-validation-rules

```

Validation Rules
----------------

[](#validation-rules)

> If you wish to make changes to any of the validation rules, submit an issue or pull request so it can be discussed.

NameClass NameDescriptionUK Postal CodesUKPostcodeEasy validation of UK postal codes.UK Phone NumbersUKPhoneNumberValidation of UK mobile phones and landlines.Usage
-----

[](#usage)

You can easily integrate the custom validation rules by calling the class on the individual attributes you wish to validate.

You can read more about custom validation classes [here](https://laravel.com/docs/5.7/validation#custom-validation-rules).

Example:

```
'mobile' => ['nullable', 'string', 'max:255', new UKPhoneNumber()],
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

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

2751d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c580cdf7c14898fff179cdfc1085892091d5d2f49d917873a12365af9ac77c93?d=identicon)[Jord-JD](/maintainers/Jord-JD)

![](https://www.gravatar.com/avatar/250ad189b21ef862e3f0727fc0e416deb51588f7681ec35792327b1bd500e9ca?d=identicon)[langleyfoxall](/maintainers/langleyfoxall)

---

Top Contributors

[![ash123456789](https://avatars.githubusercontent.com/u/11010491?v=4)](https://github.com/ash123456789 "ash123456789 (13 commits)")

---

Tags

laravelvalidation

### Embed Badge

![Health badge](/badges/langleyfoxall-laravel-validation-rules/health.svg)

```
[![Health](https://phpackages.com/badges/langleyfoxall-laravel-validation-rules/health.svg)](https://phpackages.com/packages/langleyfoxall-laravel-validation-rules)
```

###  Alternatives

[propaganistas/laravel-phone

Adds phone number functionality to Laravel based on Google's libphonenumber API.

3.0k35.7M107](/packages/propaganistas-laravel-phone)[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[axlon/laravel-postal-code-validation

Worldwide postal code validation for Laravel and Lumen

3853.3M1](/packages/axlon-laravel-postal-code-validation)[galahad/laravel-addressing

Laravel package providing addressing functionality

70316.6k](/packages/galahad-laravel-addressing)[orkhanahmadov/laravel-zip-validator

Laravel ZIP file content validator

12424.9k](/packages/orkhanahmadov-laravel-zip-validator)[yorcreative/laravel-argonaut-dto

Argonaut is a lightweight Data Transfer Object (DTO) package for Laravel that supports nested casting, recursive serialization, and validation out of the box. Ideal for service layers, APIs, and clean architecture workflows.

1062.8k1](/packages/yorcreative-laravel-argonaut-dto)

PHPackages © 2026

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