melisplatform/melis-asset-manager

Maintainers

👁 melisplatform

Package info

github.com/melisplatform/melis-asset-manager

Documentation

Type:melisplatform-module

pkg:composer/melisplatform/melis-asset-manager

Statistics

Installs: 6 851

Dependents: 3

Suggesters: 0

Stars: 1

Open Issues: 0

v5.3.5 2026-06-10 09:43 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

OSL-3.0 2d6c51062bd3400ed1b02233946feee665949784

zf2modulecmsmelis


README

MelisAssetManager provides deliveries of Melis Platform's assets located in every module's public folder.

Getting Started

These instructions will get you a copy of the project up and running on your machine.

Prerequisites

MelisAssetManager will attempt to create a file in the main config folder of the project.
It is important that the folder has enough rights to be written in.
Filename and location:
/config/melis.modules.path.php

Installing

Run the composer command:

composer require melisplatform/melis-asset-manager

Running the code

The code will run by itself on loading of the modules by the use of a listenner.
Assets are then accessible by using the following URLs:
/[moduleName]/css/mycss.css
/[moduleName]/js/myjs.js
/[moduleName]/images/img.jpg

MelisAssetManager will also attempt to find the requested elements in the main public folder.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the OSL-3.0 License - see the LICENSE.md file for details