filisko / debugbar-assets
Stolz/Assets Collector for Debugbar
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- maximebf/debugbar: >=1.11
- stolz/assets: >=0.1.8
This package is auto-updated.
Last update: 2025-01-10 05:40:37 UTC
README
This is a Debugbar Collector for Stolz/Assets, an ultra-simple-to-use assets management library for PHP. 😃
Result
CSS files appear in red, JS files appear in blue.
Installation
Install it via composer:
composer require filisko/debugbar-assets
How to use
// Your assets manager $assetsManager = new \Stolz\Assets\Manager($config); // Your debugbar $debugbar = new \DebugBar\StandardDebugBar(); // Set the assets manager instance as first parameter to the assets collector, // and add the collector to your Debugbar $debugbar->addCollector(new \Filisko\DebugBar\DataCollector\AssetsCollector($assetsManager));