CPS-IT / frontend-asset-handler

Composer library to download and extract Frontend assets in Composer projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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).

About

Composer library to download and extract Frontend assets in Composer projects

License:GNU General Public License v3.0


Languages

Language:PHP 100.0%