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 yesterday

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 54% 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

4565d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c14333bb716200e83aef1441b3ae2e6e135d5c36624d3dbd0419945d1d0f6d9a?d=identicon)[gcoderre](/maintainers/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.3M49](/packages/proengsoft-laravel-jsvalidation)[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)[illuminatech/validation-composite

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

184485.5k](/packages/illuminatech-validation-composite)[laravel-validation-rules/phone

Validate that a phone number is in the correct format

69355.5k](/packages/laravel-validation-rules-phone)[stuyam/laravel-phone-validator

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

2861.3k](/packages/stuyam-laravel-phone-validator)

PHPackages © 2026

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