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(3w ago)0122MITPHPPHP ^7.0|^8.0

Since Jan 15Pushed 3w 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 today

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

45

—

FairBetter than 93% of packages

Maintenance95

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

22d 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

[bayareawebpro/laravel-multistep-forms

Responsable MultiStep Form Builder for Laravel.

967.9k](/packages/bayareawebpro-laravel-multistep-forms)[stuyam/laravel-phone-validator

A phone validator for Laravel using the free Twilio phone lookup service.

2861.0k](/packages/stuyam-laravel-phone-validator)[laravel-validation-rules/us-state

Validate US States and Canada Provinces

16169.3k](/packages/laravel-validation-rules-us-state)[skysplit/laravel5-intl-translation

Laravel 5 package for better translation syntax using php-intl extension

10106.2k](/packages/skysplit-laravel5-intl-translation)[pacerit/laravel-polish-validation-rules

Simple Polish Validation rules for Laravel and Lumen framework

1448.2k](/packages/pacerit-laravel-polish-validation-rules)[speelpenning/laravel-postcode-nl

A Laravel client using the Postcode.eu REST API for Dutch address verification.

1221.0k](/packages/speelpenning-laravel-postcode-nl)

PHPackages © 2026

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