2017 © Pedro Peláez
 

package laravel-extended-validation-rules

Rules to make easy validations in laravel 5.5.

image

juniorb2ss/laravel-extended-validation-rules

Rules to make easy validations in laravel 5.5.

  • Tuesday, September 5, 2017
  • by juniorb2s
  • Repository
  • 1 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Laravel 5.5 Rules Extends

Validate Email With Mailgun Service

In .env file you need define your api pub key, (*1)

MAILGUN_PUBKEY=pubkey-5ogiflzbnjrljiky49qxsiozqef5jxp7

To make validation:, (*2)

    use juniorb2ss\LaravelExtendedValidationRules\Rules\MailGunValidateEmailAddressRule;

    return Validator::make($inputs, [
        'name' => 'required|string|max:255',
        'email' => [
            'required',
            'string',
            'max:255',
            'unique:users',
            new MailGunValidateEmailAddressRule // to make validation in mailgun service
        ]
    ]);

The Versions

05/09 2017

dev-master

9999999-dev https://github.com/juniorb2ss/LaravelExtendedValidationRules

Rules to make easy validations in laravel 5.5.

  Sources   Download

MIT

The Requires

 

The Development Requires

juniorb2ss laravelextendedvalidationrules

05/09 2017

1.0.0

1.0.0.0 https://github.com/juniorb2ss/LaravelExtendedValidationRules

Rules to make easy validations in laravel 5.5.

  Sources   Download

MIT

The Requires

 

The Development Requires

juniorb2ss laravelextendedvalidationrules