Download the PHP package jield-webdev/laminas-assetmanager without Composer
On this page you can find all versions of the php package jield-webdev/laminas-assetmanager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jield-webdev/laminas-assetmanager
More information about jield-webdev/laminas-assetmanager
Files in jield-webdev/laminas-assetmanager
Package laminas-assetmanager
Short Description An assetmanager module for Laminas
License BSD-2-Clause
Homepage https://github.com/jield-webdev/laminas-assetmanager
Informations about the package laminas-assetmanager
AssetManager
By Wesley Overdijk and Marco Pivetta
Updated to laminas by Johan van der Heide
Introduction
This module is intended for usage with a default directory structure of a
Laminas Skeleton Application. It provides functionality to load
assets and static files from your module directories through simple configuration.
This allows you to avoid having to copy your files over to the public/
directory, and makes usage of assets very
similar to what already is possible with view scripts, which can be overridden by other modules.
In a nutshell, this module allows you to package assets with your module working out of the box.
Installation
- Require assetmanager:
Usage
Sample module config:
CLI usage:
Based on Laminas-CLI also support for asset warm up and purge is available.
This script will create all the assets and store them in the cache. If the purge flag is set, it will also purge the existing cache. This can be useful in a deployment scenario.
Please be careful, since this module will serve every file as-is, including PHP code.
The task list has been slimmed down a lot lately. However, there are still a couple of things that should be done.
- Renewing the cache
All versions of laminas-assetmanager with dependencies
scssphp/scssphp Version ~1.13
laminas/laminas-cli Version ^1.10
laminas/laminas-cache-storage-adapter-memory Version ^2.4.x-dev
laminas/laminas-modulemanager Version ^2.17
laminas/laminas-stdlib Version ^3.20
laminas/laminas-servicemanager Version ^3.23
laminas/laminas-loader Version ^2.11
laminas/laminas-eventmanager Version ^3.14
laminas/laminas-mvc Version ^3.8
assetic/framework Version ^v3.1