PHPackages                             68publishers/asset - 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. 68publishers/asset

ActiveLibrary[Framework](/categories/framework)

68publishers/asset
==================

Integration of Symfony's Asset component into Nette Framework.

v3.3.4(1y ago)582.0k—0%3[1 PRs](https://github.com/68publishers/asset/pulls)MITPHPPHP ^7.4 || ^8.0

Since May 22Pushed 1y ago2 watchersCompare

[ Source](https://github.com/68publishers/asset)[ Packagist](https://packagist.org/packages/68publishers/asset)[ RSS](/packages/68publishers-asset/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (11)Versions (15)Used By (0)

Symfony Asset Component in Nette
================================

[](#symfony-asset-component-in-nette)

Integration of [symfony/asset](https://github.com/symfony/asset) into Nette Framework.

[![Checks](https://camo.githubusercontent.com/d130fe0353b7973e946fdd784804d21a0a8dc3790d5ea4ae5afa902a78076031/68747470733a2f2f62616467656e2e6e65742f6769746875622f636865636b732f36387075626c6973686572732f61737365742f6d6173746572)](https://github.com/68publishers/asset/actions)[![Coverage Status](https://camo.githubusercontent.com/94de487dfb8a08c7838986458901cfd669fbe8dc92006ee6c0f66733adc41b6c/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f36387075626c6973686572732f61737365742f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/68publishers/asset?branch=master)[![Total Downloads](https://camo.githubusercontent.com/2bfdcd4e53531606e5c29fb953058aff2b5e36017d226a956c141e33926be867/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f64742f36387075626c6973686572732f6173736574)](https://packagist.org/packages/68publishers/asset)[![Latest Version](https://camo.githubusercontent.com/869e7a5a1a8260752e6780afab80eee65cadd69ea429d764b58b981bae588df5/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f36387075626c6973686572732f6173736574)](https://packagist.org/packages/68publishers/asset)[![PHP Version](https://camo.githubusercontent.com/fd82adaeb00144840804a46cc5d3235588c33d7d4a67d05b7f056cbdb67d42a8/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f36387075626c6973686572732f6173736574)](https://packagist.org/packages/68publishers/asset)

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

[](#installation)

The best way to install 68publishers/asset is using Composer:

```
$ composer require 68publishers/asset
```

Usage
-----

[](#usage)

Simply register a compiler extension into DIC:

```
extensions:
	asset: SixtyEightPublishers\Asset\Bridge\Nette\DI\AssetExtension

asset:
	# your configuration
```

Configuration options are described in official [Symfony documentation](https://symfony.com/doc/6.0/reference/configuration/framework.html#assets)

Usage in Latte templates
------------------------

[](#usage-in-latte-templates)

```
{* Use default package *}

Version: {asset_version 'my/awesome/image.png'}

{* Use "foo" package *}

Version: {asset_version 'my/awesome/image.png', 'foo'}
```

You can also use a function equivalent. For example if you want to store result in variable:

```
{var $asset = asset('my/awesome/image.png')}
{var $asset = asset('my/awesome/image.png', 'foo')}

{var $version = asset_version('my/awesome/image.png')}
{var $version = asset_version('my/awesome/image.png', 'foo')}
```

Contributing
------------

[](#contributing)

Before opening a pull request, please check your changes using the following commands

```
$ make init # to pull and start all docker images

$ make cs.check
$ make stan
$ make tests.all
```

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 82.9% 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 ~146 days

Recently: every ~153 days

Total

14

Last Release

641d ago

Major Versions

v1.1 → v2.02020-10-27

v2.1.0 → v3.0.02022-11-21

PHP version history (4 changes)v1.0PHP ~7.1

v1.1PHP ^7.2

v3.0.0PHP ^7.4 | ^8.0

v3.1.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/609005caba54757716c3c037c381376ab298714003da87c9e20aa8c501c97df8?d=identicon)[Jelen](/maintainers/Jelen)

---

Top Contributors

[![tg666](https://avatars.githubusercontent.com/u/24430186?v=4)](https://github.com/tg666 "tg666 (29 commits)")[![jelen07](https://avatars.githubusercontent.com/u/2346295?v=4)](https://github.com/jelen07 "jelen07 (4 commits)")[![h4kuna](https://avatars.githubusercontent.com/u/335722?v=4)](https://github.com/h4kuna "h4kuna (2 commits)")

---

Tags

assetsnettesymfonynetteasset68publishers

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/68publishers-asset/health.svg)

```
[![Health](https://phpackages.com/badges/68publishers-asset/health.svg)](https://phpackages.com/packages/68publishers-asset)
```

###  Alternatives

[nette/bootstrap

🅱 Nette Bootstrap: the simple way to configure and bootstrap your Nette application.

68435.8M590](/packages/nette-bootstrap)[nette/web-project

Nette: Standard Web Project

10991.8k](/packages/nette-web-project)

PHPackages © 2026

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