Download the PHP package wijzijnweb/laravel-bsn-validator without Composer
On this page you can find all versions of the php package wijzijnweb/laravel-bsn-validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wijzijnweb/laravel-bsn-validator
More information about wijzijnweb/laravel-bsn-validator
Files in wijzijnweb/laravel-bsn-validator
Package laravel-bsn-validator
Short Description Dutch BSN validation for Laravel.
License MIT
Homepage https://github.com/wijzijnweb/laravel-bsn-validator
Informations about the package laravel-bsn-validator
Laravel BSN Validator
Dutch BSN validation for Laravel.
Installation
You can install the package via Composer:
You may publish all of the package's resources at once:
Or, you may publish each resource individually:
Publishing the Translations
Usage
Validate a BSN directly:
Or use the validation rule with Laravel's validator:
The Wijzijnweb\LaravelBsnValidator\Rules\Bsn rule class can be used directly as an alternative to Rule::bsn().
Generating BSNs with Faker
This package ships a Faker provider for generating valid BSNs in your app's seeders and factories. It requires fakerphp/faker, which this package does not depend on directly, so make sure it's installed in your app:
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Thank you for considering contributing to Laravel BSN Validator! Please review our contributing guide to get started.
Credits
- DannyHageman
- All Contributors
License
Laravel BSN Validator is open-sourced software licensed under the MIT license.