PHPackages                             alexandresalome/assetic-extra-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. alexandresalome/assetic-extra-bundle

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

alexandresalome/assetic-extra-bundle
====================================

Extra feature for Assetic (asset directory)

v0.1.5(12y ago)1811.6k↓39.6%3[1 PRs](https://github.com/alexandresalome/assetic-extra-bundle/pulls)MITPHP

Since Sep 22Pushed 12y ago3 watchersCompare

[ Source](https://github.com/alexandresalome/assetic-extra-bundle)[ Packagist](https://packagist.org/packages/alexandresalome/assetic-extra-bundle)[ RSS](/packages/alexandresalome-assetic-extra-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

AlexAsseticExtraBundle
======================

[](#alexasseticextrabundle)

[![Build status](https://camo.githubusercontent.com/4010241a65e523053d4e5b3a3029963ab270f9bd915195f89fc61508854bbd36/68747470733a2f2f7472617669732d63692e6f72672f616c6578616e64726573616c6f6d652f617373657469632d65787472612d62756e646c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/alexandresalome/assetic-extra-bundle)Provides an additional filter for [Assetic](https://github.com/kriswallsmith/assetic): **asset directory**.

This filter will process your CSS and copy assets to a directory, usually in `web/`folder.

By doing so, you can include CSS images and fonts from external libraries without storing dependency in a public folder.

Installation
------------

[](#installation)

Edit your `composer.json` and add the following package as a **require**:

```
{
    "require": {
        "alexandresalome/assetic-extra-bundle": "dev-master"
    }
}
```

Edit your `app/AppKernel.php` and add the bundle to the **registerBundles** method:

```
public function registerBundles()
{
        $bundles = array(
           // ...
           new Alex\AsseticExtraBundle\AlexAsseticExtraBundle(),
           // ...
```

Configuration
-------------

[](#configuration)

Edit your `config.yml` and add a section **alex\_assetic\_extra**:

```
alex_assetic_extra:
    asset_directory:
        enabled: true

        # Indicates where assets should be copied to
        # when processing CSS files.
        path: %kernel.root_dir%/../web/assets

        # Not really clear yet
        target: assets
```

Or to quickly use it:

```
alex_assetic_extra:
    asset_directory: true
```

Usage
-----

[](#usage)

To use it, use the filter in your `{% stylesheets %}` template blocks:

```
{% stylesheets filter="combine,assetdirectory"
    "@SomeBundle/Resources/assets/form.css"
    "../vendor/path/to/some.js"
%}
    {# ... #}
{% endstylsheets %}
```

Changelog
---------

[](#changelog)

**v0.1**

- Initial version

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~27 days

Recently: every ~34 days

Total

6

Last Release

4533d ago

### Community

Maintainers

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

---

Top Contributors

[![boekkooi](https://avatars.githubusercontent.com/u/399895?v=4)](https://github.com/boekkooi "boekkooi (1 commits)")[![romaricdrigon](https://avatars.githubusercontent.com/u/919405?v=4)](https://github.com/romaricdrigon "romaricdrigon (1 commits)")

### Embed Badge

![Health badge](/badges/alexandresalome-assetic-extra-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/alexandresalome-assetic-extra-bundle/health.svg)](https://phpackages.com/packages/alexandresalome-assetic-extra-bundle)
```

###  Alternatives

[toopay/assetic-minifier

Assetic Filter for pure PHP JS and CSS minification

1356.9k3](/packages/toopay-assetic-minifier)

PHPackages © 2026

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