PHPackages                             yproximite/asset-dependency-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. yproximite/asset-dependency-bundle

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

yproximite/asset-dependency-bundle
==================================

v2.0.0(8y ago)75.2kPHP

Since Feb 4Pushed 8y ago3 watchersCompare

[ Source](https://github.com/Yproximite/YllyAssetDependencyBundle)[ Packagist](https://packagist.org/packages/yproximite/asset-dependency-bundle)[ RSS](/packages/yproximite-asset-dependency-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Asset Dependency Bundle
=======================

[](#asset-dependency-bundle)

This bundle enables TWIG templates to declare that they need stylesheets and javascripts.

Usage
-----

[](#usage)

Twig templates can declare their dependencies like this:

```
{{ depends_on_stylesheet(['bundles/foobar/css/style.css']) }}
{{ depends_on_javascript(['bundles/foobar/js/jquery.js']) }}
```

Each dependency is then included once when the response is rendered.

The bundle also allows you to specify aliases in the configuration:

```
// app/config.yml
ylly_asset_dependency:
    javascript_alias_map:
        jquery: bundles/foobar/js/jquery.js
        jquery-ui: bundles/foobar/js/jquery-ui.js
    stylesheet_alias_map:
        style: bundles/foobar/css/style.css

// sometemplate.html.twig
{{ depends_on_stylesheet(['@style']) }}
{{ depends_on_javascript(['@jquery']) }}
```

To include the dependencies in your layout insert the following placeholders:

```

```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 77.8% 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 ~1021 days

Total

2

Last Release

3096d ago

Major Versions

v1.0.0 → v2.0.02017-11-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/2cc4596a870c941fcf8f77e998b26925e57942559718270f7cece4e0b43c2b6c?d=identicon)[RomulusED69](/maintainers/RomulusED69)

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

---

Top Contributors

[![dantleech](https://avatars.githubusercontent.com/u/530801?v=4)](https://github.com/dantleech "dantleech (7 commits)")[![tristanbes](https://avatars.githubusercontent.com/u/346010?v=4)](https://github.com/tristanbes "tristanbes (2 commits)")

### Embed Badge

![Health badge](/badges/yproximite-asset-dependency-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/yproximite-asset-dependency-bundle/health.svg)](https://phpackages.com/packages/yproximite-asset-dependency-bundle)
```

###  Alternatives

[nfephp-org/sped-common

sped-common é parte do projeto NFePHP.

1051.7M64](/packages/nfephp-org-sped-common)[kartik-v/yii2-widget-rating

A Yii2 widget for the simple yet powerful bootstrap-star-rating plugin with fractional rating support (sub repo split from yii2-widgets)

444.1M8](/packages/kartik-v-yii2-widget-rating)[timeweb/phpstan-enum

Enum class reflection extension for PHPStan

443.2M21](/packages/timeweb-phpstan-enum)[sweetrdf/easyrdf

EasyRdf is a PHP library designed to make it easy to consume and produce RDF.

261.3M11](/packages/sweetrdf-easyrdf)[nivpenso/react-file-watcher

a file watcher package based on reactphp

181.9k1](/packages/nivpenso-react-file-watcher)[moell/laravel-rss

Based on moell/rss development laravel version

111.4k](/packages/moell-laravel-rss)

PHPackages © 2026

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