PHPackages                             dev-talha-anwar/laravel-validation-helper - 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. dev-talha-anwar/laravel-validation-helper

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

dev-talha-anwar/laravel-validation-helper
=========================================

This package is designed to use validation in laravel in very easy and efficient manner.

v1.0.3(3y ago)023MITPHP

Since Mar 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/dev-talha-anwar/laravel-validation-helper)[ Packagist](https://packagist.org/packages/dev-talha-anwar/laravel-validation-helper)[ Docs](https://github.com/dev-talha-anwar/laravel-validation-helper)[ RSS](/packages/dev-talha-anwar-laravel-validation-helper/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (4)Versions (6)Used By (0)

simple Utility for laravel validator
====================================

[](#simple-utility-for-laravel-validator)

[![GitHub issues](https://camo.githubusercontent.com/6a3d5012b9afaba689c2c76babba4aa8e130f133f2c0674c9bd20bc33b4d0292/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6465762d74616c68612d616e7761722f6c61726176656c2d76616c69646174696f6e2d68656c706572)](https://packagist.org/packages/talha-anwar/laravel-validation-helper)[![GitHub forks](https://camo.githubusercontent.com/62886eb3d236610b9365731d9c9c675c54daaabc56ace83a0b2f4d3a6ef6724e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6465762d74616c68612d616e7761722f6c61726176656c2d76616c69646174696f6e2d68656c706572)](https://travis-ci.org/talha-anwar/laravel-validation-helper)[![GitHub stars](https://camo.githubusercontent.com/4ee7c6d8f34125fd96c8a730e14117b1121351fad3f3cc2389232d4eff12d85e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6465762d74616c68612d616e7761722f6c61726176656c2d76616c69646174696f6e2d68656c706572)](https://scrutinizer-ci.com/g/talha-anwar/laravel-validation-helper)[![GitHub license](https://camo.githubusercontent.com/c78df9e6d5d078f1ca63e82109a344d0bf3920c8405f304411817866ac0e7486/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6465762d74616c68612d616e7761722f6c61726176656c2d76616c69646174696f6e2d68656c706572)](https://packagist.org/packages/talha-anwar/laravel-validation-helper)

simple validation utility for laravel validation

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

[](#installation)

You can install the package via composer:

```
composer require dev-talha-anwar/laravel-validation-helper
```

Publishing Config
-----------------

[](#publishing-config)

after installation publish the configurtion

```
php artisan vendor:publish --provider=TalhaAnwar\LaravelValidationHelper\LaravelValidationHelperServiceProvider
```

Usage
-----

[](#usage)

after installation simply use trait in your controller on top

```
use talhaanwar\LaravelValidationHelper\Traits\LVH;
```

after that use fascade

```
$validated = LVH::validate(['Admin.AdminEditForm'], [
            [
                'key' => 'name',
                'value' => ['max:191'],
                'messages' => [
                    'password.string' => 'Password Must Be String.',
                    'password.min' => 'Too long Password.'
                ]
            ]
        ]);
        if (!is_array($validated)) :
            return $validated;
        endif;
```

or

```
$validated = LVH::validate(['Admin.AdminEditForm']);
        if (!is_array($validated)) :
            return $validated;
        endif;
```

or

```
$validated = LVH::validate([], [
            [
                'key' => 'name',
                'value' => ['max:191'],
                'messages' => [
                    'password.string' => 'Password Must Be String.',
                    'password.min' => 'Too long Password.'
                ]
            ]
        ]);
        if (!is_array($validated)) :
            return $validated;
        endif;
```

for simple form validation requests

```
$validated = LVH::validate(['Admin.AdminEditForm'],[],true);
        if (!is_array($validated)) :
            return $validated;
        endif;
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Talha-Anwar](https://github.com/talha-anwar)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.6% 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 ~254 days

Total

4

Last Release

1178d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/73016638?v=4)[talha\_ibn\_anwar](/maintainers/talha-anwar)[@talha-anwar](https://github.com/talha-anwar)

---

Top Contributors

[![wixpadev](https://avatars.githubusercontent.com/u/67994669?v=4)](https://github.com/wixpadev "wixpadev (17 commits)")[![dev-talha-anwar](https://avatars.githubusercontent.com/u/56028813?v=4)](https://github.com/dev-talha-anwar "dev-talha-anwar (12 commits)")

---

Tags

laravel-validation-helperdev-talha-anwar

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dev-talha-anwar-laravel-validation-helper/health.svg)

```
[![Health](https://phpackages.com/badges/dev-talha-anwar-laravel-validation-helper/health.svg)](https://phpackages.com/packages/dev-talha-anwar-laravel-validation-helper)
```

###  Alternatives

[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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