A Composer library that downloads and extracts Frontend assets to a dedicated path in PHP projects.
All Frontend assets are configured through an assets.json
file and can be easily maintained by
a dedicated CLI application.
- Command-line application to fetch Frontend assets
- Asset configuration via
assets.json
file - Automated integration into CI systems
- Easy extensible by custom asset providers and processors
- Designed for dependency injection
-
Install the library:
composer require cpsit/frontend-asset-handler
-
Initialize a new
assets.json
file:vendor/bin/frontend-assets init
-
Fetch Frontend assets:
vendor/bin/frontend-assets fetch
- Installation
- Usage
- Command-line usage
- API usage
- Configuration
- Shipped components
- Dependency injection
- Migration
Please have a look at CONTRIBUTING.md
.
Direct download icons created by Pixel perfect - Flaticon
This project is licensed under GNU General Public License 3.0 (or later).