PHPackages                             cpsit/frontend-asset-handler - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. cpsit/frontend-asset-handler

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

cpsit/frontend-asset-handler
============================

Composer library to download and extract Frontend assets in Composer projects

5.1.2(5mo ago)727.4k↓26.3%3[2 issues](https://github.com/CPS-IT/frontend-asset-handler/issues)GPL-3.0-or-laterPHPPHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Sep 16Pushed 2mo ago6 watchersCompare

[ Source](https://github.com/CPS-IT/frontend-asset-handler)[ Packagist](https://packagist.org/packages/cpsit/frontend-asset-handler)[ RSS](/packages/cpsit-frontend-asset-handler/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (35)Versions (38)Used By (0)

[![Logo](docs/assets/logo.png)](docs/assets/logo.png)

Frontend Asset Handler
======================

[](#frontend-asset-handler)

[![Coverage](https://camo.githubusercontent.com/ab55bb2c9730d5366f3101acc3b2bb2180e0e16c1e47a622f93ff014f1870d63/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c73436f7665726167652f6769746875622f4350532d49542f66726f6e74656e642d61737365742d68616e646c65723f6c6f676f3d636f766572616c6c73)](https://coveralls.io/github/CPS-IT/frontend-asset-handler)[![Tests](https://github.com/CPS-IT/frontend-asset-handler/actions/workflows/tests.yaml/badge.svg)](https://github.com/CPS-IT/frontend-asset-handler/actions/workflows/tests.yaml)[![CGL](https://github.com/CPS-IT/frontend-asset-handler/actions/workflows/cgl.yaml/badge.svg)](https://github.com/CPS-IT/frontend-asset-handler/actions/workflows/cgl.yaml)[![Latest Stable Version](https://camo.githubusercontent.com/301c7e0f57d7e827c028ab38ad13be1f12b994e117ba9b364f15aabdc404f198/687474703a2f2f706f7365722e707567782e6f72672f63707369742f66726f6e74656e642d61737365742d68616e646c65722f76)](https://packagist.org/packages/cpsit/frontend-asset-handler)[![Total Downloads](https://camo.githubusercontent.com/142536fd1350f4140059207518d1c159dc6e03b88121885ff8d0693376ef68c1/687474703a2f2f706f7365722e707567782e6f72672f63707369742f66726f6e74656e642d61737365742d68616e646c65722f646f776e6c6f616473)](https://packagist.org/packages/cpsit/frontend-asset-handler)[![PHP Version Require](https://camo.githubusercontent.com/ec5d1c2b9d2f2c083b0e84a2bf14af70c9cdf7455579cfe55bd4c20f56adfba7/687474703a2f2f706f7365722e707567782e6f72672f63707369742f66726f6e74656e642d61737365742d68616e646c65722f726571756972652f706870)](https://packagist.org/packages/cpsit/frontend-asset-handler)[![License](https://camo.githubusercontent.com/c705bf00652722e910f038f56ab5847bbb1ae9e7621999d7c270eebfc7712831/687474703a2f2f706f7365722e707567782e6f72672f63707369742f66726f6e74656e642d61737365742d68616e646c65722f6c6963656e7365)](LICENSE.md)

📦 [Packagist](https://packagist.org/packages/cpsit/frontend-asset-handler) | 💾 [Repository](https://github.com/CPS-IT/frontend-asset-handler) | 🐛 [Issue tracker](https://github.com/CPS-IT/frontend-asset-handler/issues)

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

[](#-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
-----------------

[](#-getting-started)

1. [Install](docs/installation.md) the library:

    ```
    composer require cpsit/frontend-asset-handler
    ```
2. [Initialize](docs/usage/cli-init-config.md) a new `assets.json` file:

    ```
    vendor/bin/frontend-assets init
    ```
3. [Fetch](docs/usage/cli-fetch-assets.md) Frontend assets:

    ```
    vendor/bin/frontend-assets fetch
    ```

📖 Documentation
---------------

[](#-documentation)

- [Installation](docs/installation.md)
- [Usage](docs/usage/index.md)
    - Command-line usage
        - [Configure assets](docs/usage/cli-config-assets.md)
        - [Fetch assets](docs/usage/cli-fetch-assets.md)
        - [Initialize config](docs/usage/cli-init-config.md)
        - [Inspect assets](docs/usage/cli-inspect-assets.md)
    - [API usage](docs/usage/api-usage.md)
- [Configuration](docs/config/index.md)
    - [Full reference](docs/config/full-reference.md)
    - [Source](docs/config/source.md)
    - [Target](docs/config/target.md)
    - [VCS](docs/config/vcs.md)
    - [Environments](docs/config/environments.md)
- [Shipped components](docs/components/index.md)
    - [Providers](docs/components/providers.md)
    - [Processors](docs/components/processors.md)
    - [Handlers](docs/components/handlers.md)
    - [VCS Providers](docs/components/vcs-providers.md)
    - [Placeholder Processors](docs/components/placeholder-processors.md)
    - [Environment Transformers](docs/components/environment-transformers.md)
- [Dependency injection](docs/dependency-injection.md)
- [Migration](docs/migration.md)

🧑‍💻 Contributing
----------------

[](#‍-contributing)

Please have a look at [`CONTRIBUTING.md`](CONTRIBUTING.md).

💎 Credits
---------

[](#-credits)

[Direct download icons created by Pixel perfect - Flaticon](https://www.flaticon.com/free-icons/direct-download)

⭐ License
---------

[](#-license)

This project is licensed under [GNU General Public License 3.0 (or later)](LICENSE.md).

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance73

Regular maintenance activity

Popularity34

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~34 days

Total

35

Last Release

152d ago

Major Versions

1.4.0 → 2.0.02023-01-03

2.0.3 → 3.0.02023-07-03

3.0.1 → 4.0.02023-09-25

4.0.9 → 5.0.02025-07-16

PHP version history (5 changes)1.0.0PHP ~8.1.0 || ~8.2.0

1.4.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0

4.0.8PHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

5.0.0PHP ~8.2.0 || ~8.3.0 || ~8.4.0

5.1.0PHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/144cefe55242b883c87cb537463f3ba75a0f8198fc5b602b50c838aae31fe7ee?d=identicon)[eliashaeussler](/maintainers/eliashaeussler)

![](https://www.gravatar.com/avatar/876091a683280d445656ba977b7923a3824059a2808749a851e104ba14ac85bd?d=identicon)[mteu](/maintainers/mteu)

![](https://www.gravatar.com/avatar/a664c83f7a6760600d2a325f751b2a206f686b3dcb2f1dce5655ead343dc5a24?d=identicon)[cps](/maintainers/cps)

---

Top Contributors

[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (530 commits)")[![eliashaeussler](https://avatars.githubusercontent.com/u/16313625?v=4)](https://github.com/eliashaeussler "eliashaeussler (419 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (365 commits)")[![IngoMueller](https://avatars.githubusercontent.com/u/9001720?v=4)](https://github.com/IngoMueller "IngoMueller (2 commits)")[![mteu](https://avatars.githubusercontent.com/u/2636487?v=4)](https://github.com/mteu "mteu (1 commits)")[![rpflamm](https://avatars.githubusercontent.com/u/4660651?v=4)](https://github.com/rpflamm "rpflamm (1 commits)")

---

Tags

asset-handlercomposer-libraryfrontend-assets

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/cpsit-frontend-asset-handler/health.svg)

```
[![Health](https://phpackages.com/badges/cpsit-frontend-asset-handler/health.svg)](https://phpackages.com/packages/cpsit-frontend-asset-handler)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[acquia/orca

A tool for testing a company's software packages together in the context of a realistic, functioning, best practices Drupal build

32902.4k](/packages/acquia-orca)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
