msgframework/assetmanager

v1.0.1 2022-04-09 22:27 UTC

This package is auto-updated.

Last update: 2024-04-10 03:04:33 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

About

Load AssetManagerRegistry

use RocketCMS\Lib\AssetManager\WebAssetRegistry as WebAssetRegistry;
$registry = new WebAssetRegistry;

// Add registry files
$registry
    ->addRegistryFile('media/vendor/media.asset.json')
    ->addRegistryFile('media/system/media.asset.json');

Installation

You can install this package easily with Composer.

Just require the package with the following command:

$ composer require msgframework/assetmanager