babatundeodaniel / laravel-fake-email-validator
This package helps you avoid fake emails in your registration process
Requires
- php: >=7.1
- illuminate/support: >=6.0
- wesbos/burner-email-providers: dev-master
Requires (Dev)
- orchestra/testbench: ^4.0
- phpunit/phpunit: ^8.0
This package is auto-updated.
Last update: 2024-10-29 06:11:59 UTC
README
The package checks the input email against an updated list of known temporary email host.
Installation
You can install the package via composer:
composer require babatundeodaniel/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.
Usage
// Add rule to your laravel validation like this. public function rules() { return [ 'emails' => ['not_fake_email'], ]; }
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email obabatundedaniel@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.