PHP code example of marshmallow / nova-tool-data-importer

1. Go to this page and download the library: Download marshmallow/nova-tool-data-importer 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/ */

    

marshmallow / nova-tool-data-importer example snippets


[
   'providers' => [

        /*
         * Laravel Framework Service Providers...
         */
        Illuminate\Broadcasting\BroadcastServiceProvider::class,
    ],
]
bash
php artisan migrate

public function tools()
{
    return [
        ...
        new \Marshmallow\NovaDataImporter\NovaDataImporter,
    ];
}
bash
php artisan queue:table
php artisan migrate
bash
php artisan queue:work --queue=default