Skip to content

CPS-IT/frontend-asset-handler

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Contributors 6

Languages