Disposable Emails for Laravel
Create or update disposable email provider list
php artisan update:disposable-emails
Tip: Using in Schedule
$schedule->command('update:disposable-emails')->weekly();
Using Disposable Email Validation Rule
use NormanHuth\HelpersLaravel\App\Rules\DisposableEmail; class ContactController extends Controller{ public function submit(Request $request) { $request->validate([ // ... 'email' => ['required', 'email', new DisposableEmail, 'confirmed'], // ... ]);}