PHP code example of dzorogh / nova-card-data-update

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

    

dzorogh / nova-card-data-update example snippets


    use Dzorogh\ExcelDataUpdate\ExcelDataUpdate;
    
    /**
     * Get the cards that should be displayed on the default Nova dashboard.
     *
     * @return array
     */
    protected function cards()
    {
        return [
            new ExcelDataUpdate(new ExportClass, new ImportClass)
        ];
    }