cpsit/frontend-asset-handler

Composer library to download and extract Frontend assets in Composer projects

Package info

github.com/CPS-IT/frontend-asset-handler

pkg:composer/cpsit/frontend-asset-handler

Statistics

Installs: 29 844

Dependents: 0

Suggesters: 0

Stars: 7

Open Issues: 2

5.1.2 2025-12-17 09:05 UTC

Requires

Suggests

Provides

None

Conflicts

None

Replaces

None

GPL-3.0-or-later f27f2c03e231ff7d46a64cc35c0ffad5ee825d6c


README

πŸ‘ Logo

Frontend Asset Handler

πŸ‘ Coverage
πŸ‘ Tests
πŸ‘ CGL
πŸ‘ Latest Stable Version
πŸ‘ Total Downloads
πŸ‘ PHP Version Require
πŸ‘ License

πŸ“¦ Packagist | πŸ’Ύ Repository | πŸ› Issue tracker

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.

πŸš€ Features

  • 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

πŸ”₯ Getting started

  1. Install the library:

    composer require cpsit/frontend-asset-handler
  2. Initialize a new assets.json file:

    vendor/bin/frontend-assets init
  3. Fetch Frontend assets:

    vendor/bin/frontend-assets fetch

πŸ“– Documentation

πŸ§‘β€πŸ’» Contributing

Please have a look at CONTRIBUTING.md.

πŸ’Ž Credits

Direct download icons created by Pixel perfect - Flaticon

⭐ License

This project is licensed under GNU General Public License 3.0 (or later).