joshbrw/laravel-validation-rule-registration

A package that is designed to help aid rapid development and registration of custom Validation Rules in Laravel
3,057
Install
composer require joshbrw/laravel-validation-rule-registration
Latest Version:v0.1.7
PHP:>=7.0
License:MIT
Last Updated:Nov 29, 2017
Links: GitHub  ·  Packagist
Maintainer: joshbrw

laravel-validation-rule-registration

A package that is designed to help aid rapid development and registration of custom Validation Rules in Laravel

Usage

  1. Create your Validation Rule class, ensure it implements the Joshbrw\ValidationRule\Contracts\ValidationRule contract.
  2. In your service provider use RegistersValidationRules
  3. In the boot() method of your service provider;
    • To register a validation rule: $this->registerValidationRule('rule_name', RuleClass::class)
    • To register a validation replacer: $this->registerValidationReplacer('rule_name', RuleClass::class);

Related Packages

erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

612,604,198 9,704
laravel/framework

The Laravel Framework.

554,918,666 34,821
laravel/tinker

Powerful REPL for the Laravel framework.

465,424,253 7,437