PHPackages                             foreverglory/assets-bundle - 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. [Framework](/categories/framework)
4. /
5. foreverglory/assets-bundle

ActiveSymfony-bundle[Framework](/categories/framework)

foreverglory/assets-bundle
==========================

Symfony AssetsBundle

v0.2.0(10y ago)038MITPHP

Since Jan 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/foreverglory/assets-bundle)[ Packagist](https://packagist.org/packages/foreverglory/assets-bundle)[ Docs](http://foreverglory.me)[ RSS](/packages/foreverglory-assets-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

AssetsBundle
============

[](#assetsbundle)

Symfony Framework extend of assets
----------------------------------

[](#symfony-framework-extend-of-assets)

Symfony 框架关于Assets的扩展

Introduction
------------

[](#introduction)

### Composer

[](#composer)

Add to `composer.json` in your project to `require` section:

```
{
    "foreverglory/assets-bundle": "~0.1"
}
```

### Add this bundle to your application's kernel

[](#add-this-bundle-to-your-applications-kernel)

```
//app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Glory\Bundle\AssetsBundle\GloryAssetsBundle(),
        // ...
    );
}
```

### Conﬁgure service in your YAML configuration

[](#conﬁgure-service-in-your-yaml-configuration)

```
#app/conﬁg/conﬁg.yml
framework:
    # ...
    templating:
        engines: ['twig']
        assets_version: 1.0.0
        assets_version_format: %%s?v=%%s
        packages:
            image:
                base_urls: ["http://cdn.domain.com"]
            ico:
                version_format: %%s
    # ...
glory_assets:
    packages:
        image:                          #Connection framework.templating.packages.{image}
            match: "/\.(jpg|png)$/"     #php code preg_match($match, $path), if match, use framework.templating.packages.{image}
        ico:
            match: "/favicon\.ico$/"
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Every ~63 days

Total

2

Last Release

3749d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f2db77628f7824d4dda8968f3dd7f314800bb3ae6663d788cd6614e92623695?d=identicon)[foreverglory](/maintainers/foreverglory)

---

Top Contributors

[![foreverglory](https://avatars.githubusercontent.com/u/1069963?v=4)](https://github.com/foreverglory "foreverglory (8 commits)")

---

Tags

symfonybundleassets

### Embed Badge

![Health badge](/badges/foreverglory-assets-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/foreverglory-assets-bundle/health.svg)](https://phpackages.com/packages/foreverglory-assets-bundle)
```

###  Alternatives

[vanta/temporal-bundle

Integration temporal with symfony

7337.0k](/packages/vanta-temporal-bundle)[botilka/botilka

CQRS &amp; Event Sourcing framework

352.8k](/packages/botilka-botilka)

PHPackages © 2026

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