PHP code example of imamuseum / harvester2

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

    

imamuseum / harvester2 example snippets


Imamuseum\Harvester2\HarvesterServiceProvider::class,

    public function register()
    {
        $this->app->bind('Imamuseum\Harvester2\Contracts\HarvesterInterface',
            'Imamuseum\Harvester2\ExampleHarvester');
    }
sh
php artisan vendor:publish