1. Go to this page and download the library: Download fyre/loader 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/ */
fyre / loader example snippets
use Fyre\Loader\Loader;
$loader = new Loader();
$container->singleton(Loader::class);
$loader->addClassMap($classMap);
$loader->addNamespaces($namespaces);
$loader->clear();
$classMap = $loader->getClassMap();
$paths = $loader->getNamespace($prefix);
$paths = $loader->getNamespacePaths($prefix);
$namespaces = $loader->getNamespaces();
$hasNamespace = $loader->hasNamespace($prefix);
$loader->loadComposer($composerPath);
$loader->register();
$loader->removeClass($className);
$loader->removeNamespace($prefix);
$loader->unregister();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.