PHPackages                             joeriabbo/smart-validation - 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. [Database &amp; ORM](/categories/database)
4. /
5. joeriabbo/smart-validation

ActiveLibrary[Database &amp; ORM](/categories/database)

joeriabbo/smart-validation
==========================

Laravel smart validation Package

05.0kPHPCI failing

Since Mar 29Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Joeri-Abbo/php-smart-validation)[ Packagist](https://packagist.org/packages/joeriabbo/smart-validation)[ RSS](/packages/joeriabbo-smart-validation/feed)WikiDiscussions main Synced 1mo ago

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

Smart validation
================

[](#smart-validation)

Setup easy validation without any configure except your database configuration. What this package does is getting your settings of the colums from your given table and generate a validation rules for your.

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

[](#installation)

Run the following command to install the package.

```
composer require joeriabbo/smart-validation

```

After installing go to your request that normaly would extend FormRequest and now extend SmartValidation.

```
use JoeriAbbo\SmartValidation\Http\Requests\AbstractTableValidationRequest;
class StoreRequest extends AbstractTableValidationRequest

```

Now you have to add the table name by filling the table function. Inside your validation class.

```
public static function getTable(): string
{
    return 'demo';
}

```

The validation rules are generated by the package. And your validation rules are now the same as your database table rules.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance60

Regular maintenance activity

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/427c4f49eaac3ae3cee8fa4df53cd68b116df8894d933120a6d67d2dc183d791?d=identicon)[Joeri-Abbo](/maintainers/Joeri-Abbo)

---

Top Contributors

[![Joeri-Abbo](https://avatars.githubusercontent.com/u/34270045?v=4)](https://github.com/Joeri-Abbo "Joeri-Abbo (2 commits)")

---

Tags

databaselaravelrequestsvalidation

### Embed Badge

![Health badge](/badges/joeriabbo-smart-validation/health.svg)

```
[![Health](https://phpackages.com/badges/joeriabbo-smart-validation/health.svg)](https://phpackages.com/packages/joeriabbo-smart-validation)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.3k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M543](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M209](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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