1. Go to this page and download the library: Download brad-jones/import 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/ */
brad-jones / import example snippets
use function Brads\import;
import(...args...);
use Brads\Importer;
Importer::import(...args...);
use Brads\Importer;
$importer = new Importer;
$importer->newImport(...args...);
Brads\Importer::globalise();
import(...args...);
use Brads\Importer;
use Brads\ImporterInterface;
$builder = new DI\ContainerBuilder();
$builder->addDefinitions
([
ImporterInterface::class => DI\object(Importer::class)
]);
$container = $builder->build();
$container->get(ImporterInterface::class)->newImport(...args...);