PHPackages                             molotov/laravel-canpost-validator - 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. molotov/laravel-canpost-validator

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

molotov/laravel-canpost-validator
=================================

Canadian postal code validator for Laravel 4x

v1.0.0(12y ago)1333PHPPHP &gt;=5.3.0

Since Nov 12Pushed 11y ago1 watchersCompare

[ Source](https://github.com/gcoderre/laravel-canpost-validator)[ Packagist](https://packagist.org/packages/molotov/laravel-canpost-validator)[ RSS](/packages/molotov-laravel-canpost-validator/feed)WikiDiscussions master Synced 2w ago

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

Canadian postal code validator for Laravel 4.x
----------------------------------------------

[](#canadian-postal-code-validator-for-laravel-4x)

Just what it says.

### Usage

[](#usage)

1. Install with composer

```
{
  "require": {
    "molotov/laravel-canpost-validator": "1.0.*"
  }
}
```

2. Add the service provider to your project's autoloader in `/app/config/app.php`

```
'providers' => array(
  // ...
  'Molotov\CanpostValidator\CanpostValidatorServiceProvider'
);
```

3. Use it by adding `canadian_postal_code` to your attribute's validation rules.

```
$rules = array('postal_code' => 'canadian_postal_code|required');
Validator::make($attributes, $rules);
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

4613d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10054?v=4)[Guillaume Coderre](/maintainers/gcoderre)[@gcoderre](https://github.com/gcoderre)

---

Top Contributors

[![adamsullovey](https://avatars.githubusercontent.com/u/1184446?v=4)](https://github.com/adamsullovey "adamsullovey (2 commits)")[![gcoderre](https://avatars.githubusercontent.com/u/10054?v=4)](https://github.com/gcoderre "gcoderre (2 commits)")[![Copeman](https://avatars.githubusercontent.com/u/3587077?v=4)](https://github.com/Copeman "Copeman (1 commits)")

---

Tags

laravelvalidator

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/molotov-laravel-canpost-validator/health.svg)

```
[![Health](https://phpackages.com/badges/molotov-laravel-canpost-validator/health.svg)](https://phpackages.com/packages/molotov-laravel-canpost-validator)
```

###  Alternatives

[proengsoft/laravel-jsvalidation

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

1.1k2.3M50](/packages/proengsoft-laravel-jsvalidation)[sunspikes/clamav-validator

Custom Laravel anti-virus validator for file uploads using ClamAV.

3712.0M5](/packages/sunspikes-clamav-validator)[laravel-validation-rules/credit-card

Validate credit card number, expiration date, cvc

2422.3M6](/packages/laravel-validation-rules-credit-card)[illuminatech/validation-composite

Allows uniting several validation rules into a single one for easy re-usage

180517.4k](/packages/illuminatech-validation-composite)[sadegh19b/laravel-persian-validation

A comprehensive Laravel validation package for Persian text, numbers, dates, and Iranian national identifiers

18596.0k1](/packages/sadegh19b-laravel-persian-validation)[laravel-validation-rules/phone

Validate that a phone number is in the correct format

69365.2k](/packages/laravel-validation-rules-phone)

PHPackages © 2026

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