The package checks the input email against an updated list of known temporary email host.
You can install the package via composer:
composer require Kompas/laravel-fake-email-validator
To customize the configuration file, publish the package configuration using Artisan.
php artisan vendor:publish --provider="Getripay\GetripayVerifyFakeEmails\GetripayVerifyFakeEmailsServiceProvider"
You can then edit the generated config at app/config/config/getripay_verify_fake_emails.php.
// Add rule to your laravel validation like this.
public function rules()
{
return [
'emails' => ['not_fake_email'],
];
}
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email obabatundedaniel@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
This package was generated using the Laravel Package Boilerplate.