PHPackages                             php-comp/asset-manager - 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. php-comp/asset-manager

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

php-comp/asset-manager
======================

a simple php asset manager library.

v0.1.0(7y ago)12MITPHPPHP &gt;7.1

Since Nov 25Pushed 7y ago1 watchersCompare

[ Source](https://github.com/phppkg/asset-manager)[ Packagist](https://packagist.org/packages/php-comp/asset-manager)[ Docs](https://github.com/php-comp/asset-manager)[ RSS](/packages/php-comp-asset-manager/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

php 前端资源管理
==========

[](#php-前端资源管理)

[![License](https://camo.githubusercontent.com/b2c0cce660f4f2009f253e7922a5ac4b53080017c26a43455fa7532dc7283292/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7068702d636f6d702f61737365742d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Php Version](https://camo.githubusercontent.com/5127919eba34cfd4efa2e1d76a62f25de4061ec0a31a434fd9b23f6b16fc2c0e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2533453d372e302d627269676874677265656e2e7376673f6d61784167653d32353932303030)](https://packagist.org/packages/php-comp/asset-manager)[![Latest Stable Version](https://camo.githubusercontent.com/1102e05e9e43ca7246f06c50b0dd362093280152c888f539628ee7bfa0c9fa5a/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068702d636f6d702f61737365742d6d616e616765722e737667)](https://packagist.org/packages/php-comp/asset-manager)

项目地址
----

[](#项目地址)

- **github**

**注意：**

- 代码是要求 `php >= 7` 的

安装
--

[](#安装)

- 使用 `composer require`

```
composer require php-comp/asset-manager
```

- 使用 `composer.json`

编辑 `composer.json`，在 `require` 添加

```
"php-comp/asset-manager": "dev-master",

```

然后执行: `composer update`

- 直接拉取

```
git clone https://github.com/inhere/php-asset-manager.git // github

```

快速开始
----

[](#快速开始)

PHP输出资源
-------

[](#php输出资源)

```
$router = new \Inhere\Route\Router;
$router->get('/assets/(css|js)/([\w.-]+)\.(css|js)', AssetController::class . '@output');
```

License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Unknown

Total

1

Last Release

2729d ago

### Community

Maintainers

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

---

Top Contributors

[![inhere](https://avatars.githubusercontent.com/u/5302062?v=4)](https://github.com/inhere "inhere (15 commits)")

---

Tags

cssJSlibraryassetasset manager

### Embed Badge

![Health badge](/badges/php-comp-asset-manager/health.svg)

```
[![Health](https://phpackages.com/badges/php-comp-asset-manager/health.svg)](https://phpackages.com/packages/php-comp-asset-manager)
```

###  Alternatives

[stolz/assets

An ultra-simple-to-use assets management library

296519.2k8](/packages/stolz-assets)[onokumus/metismenu

A jQuery menu plugin

2.0k263.3k5](/packages/onokumus-metismenu)[sensiolabs/minify-bundle

Assets Minifier (CSS, JS) for Symfony &amp; Minify integration in Asset Mapper

5694.9k1](/packages/sensiolabs-minify-bundle)[fisharebest/laravel-assets

Asset management for Laravel

208.1k](/packages/fisharebest-laravel-assets)[dotsunited/bundlefu

BundleFu is a PHP 5.3+ library which bundles multiple css/javascript files into a big package and sends it out at once

7028.5k3](/packages/dotsunited-bundlefu)

PHPackages © 2026

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