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

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

softlogic-gt/laravel-validation-rules-gt
========================================

A set of useful Laravel validation rules for Guatemala (GT)

v1.0.3(2mo ago)0122MITPHPPHP ^7.0|^8.0

Since Jan 15Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/softlogic-gt/laravel-validation-rules-gt)[ Packagist](https://packagist.org/packages/softlogic-gt/laravel-validation-rules-gt)[ Docs](https://github.com/softlogic-gt/laravel-validation-rules-gt)[ RSS](/packages/softlogic-gt-laravel-validation-rules-gt/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

A set of useful Laravel validation rules for Guatemala (GT)
===========================================================

[](#a-set-of-useful-laravel-validation-rules-for-guatemala-gt)

This repository contains useful Laravel validation rules for Guatemalan documents:

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

[](#installation)

You can install the package via composer:

```
composer require softlogic-gt/laravel-validation-rules-gt
```

The package will automatically register itself.

### Translations

[](#translations)

If you wish to edit the package translations, you can run the following command to publish them into your `resources/lang` folder

```
php artisan vendor:publish --provider="SoftlogicGT\ValidationRulesGT\ValidationRulesGTServiceProvider"
```

Available rules
---------------

[](#available-rules)

- [`DPI`](#dpi)
- [`NIT`](#nit)

### `DPI`

[](#dpi)

Determine if the field under validation is a valid Guatemalan DPI.

```
use SoftlogicGT\ValidationRulesGT\Rules\Dpi;

public function rules()
{
    $rules = [
        'dpi' => ['required', new Dpi()],
    ];
    $request->validate($rules)
}
```

### `NIT`

[](#nit)

Determine if the field under validation is a valid Guatemalan Tax ID (NIT).

```
use SoftlogicGT\ValidationRulesGT\Rules\Nit;

public function rules()
{
    $rules = [
        'nit' => ['required', new Nit()],
    ];
    $request->validate($rules)
}
```

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance86

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~285 days

Total

5

Last Release

74d ago

Major Versions

v0.0.2 → v1.0.02023-01-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/f9b62ef229498f67cac52462df0bdea1d5ff7e0e5b6ee3d1ed6df2dfc10130b4?d=identicon)[jgalindosl](/maintainers/jgalindosl)

---

Top Contributors

[![jgalindosl](https://avatars.githubusercontent.com/u/66330140?v=4)](https://github.com/jgalindosl "jgalindosl (4 commits)")[![vchete](https://avatars.githubusercontent.com/u/60408064?v=4)](https://github.com/vchete "vchete (1 commits)")

---

Tags

softlogiclaravel-validation-rules-gt

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-honeypot

Preventing spam submitted through forms

1.6k6.0M60](/packages/spatie-laravel-honeypot)[proengsoft/laravel-jsvalidation

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

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[axlon/laravel-postal-code-validation

Worldwide postal code validation for Laravel and Lumen

3853.3M1](/packages/axlon-laravel-postal-code-validation)[sunspikes/clamav-validator

Custom Laravel 5 anti-virus validator for file uploads.

3651.8M3](/packages/sunspikes-clamav-validator)[laravel-validation-rules/credit-card

Validate credit card number, expiration date, cvc

2412.2M5](/packages/laravel-validation-rules-credit-card)

PHPackages © 2026

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