PHP code example of propaganistas / laravel-disposable-email

1. Go to this page and download the library: Download propaganistas/laravel-disposable-email library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

propaganistas / laravel-disposable-email example snippets


    'indisposable' => 'Disposable email addresses are not allowed.',
    

    use Illuminate\Support\Facades\Schedule;
    
    Schedule::command('disposable:update')->weekly();
    

    protected function schedule(Schedule $schedule)
    {
        $schedule->command('disposable:update')->weekly();
    }
    

'field' => 'email|indisposable',
bash
    php artisan vendor:publish --tag=laravel-disposable-email
    
bash
    php artisan disposable:update