PHPackages                             globalxtreme/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. globalxtreme/validation

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

globalxtreme/validation
=======================

GlobalXtreme Validation Pattern

v1.1.2(1y ago)01491MITPHPPHP 8.\*

Since Jul 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/globalxtreme/validation)[ Packagist](https://packagist.org/packages/globalxtreme/validation)[ RSS](/packages/globalxtreme-validation/feed)WikiDiscussions master Synced 1mo ago

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

GlobalXtreme Validation
=======================

[](#globalxtreme-validation)

[![Version](https://camo.githubusercontent.com/950abe825db768d4d3510a99b6ecf3853432ecaa58b46d415177e34ab13d9faf/687474703a2f2f706f7365722e707567782e6f72672f676c6f62616c787472656d652f76616c69646174696f6e2f76657273696f6e)](https://packagist.org/packages/globalxtreme/validation)[![Total Downloads](https://camo.githubusercontent.com/86d15fe6203bc37154783ee8fd7b2823d41c89e120b6d876c5abc817af23c60b/687474703a2f2f706f7365722e707567782e6f72672f676c6f62616c787472656d652f76616c69646174696f6e2f646f776e6c6f616473)](https://packagist.org/packages/globalxtreme/validation)[![License](https://camo.githubusercontent.com/b339a1057a86332c0e19c2a02adb264ea9fe8246594c5245df1b4bea270307fb/687474703a2f2f706f7365722e707567782e6f72672f676c6f62616c787472656d652f76616c69646174696f6e2f6c6963656e7365)](https://packagist.org/packages/globalxtreme/validation)

### Install with composer

[](#install-with-composer)

To install with [Composer](https://getcomposer.org/), simply require the latest version of this package.

```
composer require globalxtreme/validation
```

Using
-----

[](#using)

- Publish the stubs for custom your request. ```
    php artisan vendor:publish --provider="GlobalXtreme\Validation\ValidationServiceProvider"
    ```
- You can generate laravel request class with. Ex: CustomRequest ```
    php artisan make:request CustomRequest
    ```
- Using validation with controller. ```
    use App\Http\Controllers\Controller;
    use App\Http\Requests\CustomRequest;
    use GlobalXtreme\Validation\Validator;

    class CustomController extends Controller
    {
        public function testing(CustomRequest $request)
        {
            // You can custom validator using gx response
            Validator::make($request->all(), ['foo' => 'required']);
        }
    }
    ```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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

Every ~87 days

Recently: every ~174 days

Total

9

Last Release

706d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/17e52063ab79a90d8f0d74b88a69b32f26321d910c7808ac934ad704c26f4da2?d=identicon)[globalxtreme](/maintainers/globalxtreme)

---

Top Contributors

[![yuswa-arba](https://avatars.githubusercontent.com/u/34733910?v=4)](https://github.com/yuswa-arba "yuswa-arba (9 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/globalxtreme-validation/health.svg)](https://phpackages.com/packages/globalxtreme-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)
