msgframework/assetmanager

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

This package is auto-updated.

Last update: 2024-11-10 04:22:38 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