PHP code example of incentads / disposable

1. Go to this page and download the library: Download incentads/disposable 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/ */

    

incentads / disposable example snippets


        'integrations' => [
            'numcheckr' =>  [
                'url' => env('NUMCHECKR_URL', 'https://numcheckr.com/api/check-number'),
                'api_key' => env('NUMCHECKR_API_KEY', ''),
            ]
        ]

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

    

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

'field' => 'email|disposable_email',

'field' => 'disposable_phone',
bash
    php artisan vendor:publish --tag=disposable-config
    
bash
    php artisan disposable:update
    
bash
    php artisan disposable-numbers:update