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

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

shankarbala33/php-validation
============================

Simple PHP Form Validator

14PHP

Since Oct 16Pushed 8y ago1 watchersCompare

[ Source](https://github.com/shankarbala33/PHP-Validation)[ Packagist](https://packagist.org/packages/shankarbala33/php-validation)[ RSS](/packages/shankarbala33-php-validation/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Validation
--------------

[](#php-validation)

PHP library for PHP Validation with simple validation of inputs.

### Installation via Composer

[](#installation-via-composer)

```
composer require shankarbala33/php-validation

```

### Rules to apply

[](#rules-to-apply)

```
return [
    'fname' => 'Required',
    'age' => 'Required'
  ];

```

### Validation

[](#validation)

```
 Form::validate_form($post_data);

 OUTPUT :
  [
    'success' => false,
    'error' => ['age']
  ]

```

---

#### For Powerful front end validation

[](#for-powerful-front-end-validation)

Try [JavaScript Validator](https://github.com/global-source/javascript_form_validator)

### License

[](#license)

MIT

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/310342f019559d8ee139f94cfbbcb0c83fc577c6cda3ec3373ee7ba81314f32c?d=identicon)[shankarthiyagaraajan](/maintainers/shankarthiyagaraajan)

---

Top Contributors

[![shankarThiyagaraajan](https://avatars.githubusercontent.com/u/10199091?v=4)](https://github.com/shankarThiyagaraajan "shankarThiyagaraajan (17 commits)")

### Embed Badge

![Health badge](/badges/shankarbala33-php-validation/health.svg)

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

###  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)
