PHP code example of markstory / mini-asset
1. Go to this page and download the library: Download markstory/mini-asset 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/ */
markstory / mini-asset example snippets
use MiniAsset\AssetConfig;
use MiniAsset\Middleware\AssetMiddleware;
$assetConfig = AssetConfig::buildFromIniFile(__DIR__ . '../config/assets.ini');
$assets = new AssetMiddleware($assetConfig);
$app->add($assets);
php composer.phar