PHPackages                             instante/assets - 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. instante/assets

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

instante/assets
===============

Instante assets adds useful macros to work with assets in www directory

v0.1.3(9y ago)039BSD-3-ClausePHPPHP &gt;=5.5.0

Since Apr 28Pushed 9y ago2 watchersCompare

[ Source](https://github.com/instante/assets)[ Packagist](https://packagist.org/packages/instante/assets)[ RSS](/packages/instante-assets/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (5)Versions (4)Used By (0)

Instante assets
===============

[](#instante-assets)

Useful macros for latte assets

[![Build Status](https://camo.githubusercontent.com/b3dac8272e811d34ba44b40ef83b8427a347bcfd240d64f759c4ee32b5876795/68747470733a2f2f7472617669732d63692e6f72672f696e7374616e74652f6173736574732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/instante/assets)[![Downloads this Month](https://camo.githubusercontent.com/812cf69e2d2726a50cf50ab05fd5cb291e14aed7423f8e90b025abb019b88994/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f696e7374616e74652f6173736574732e737667)](https://packagist.org/packages/instante/assets)[![Latest stable](https://camo.githubusercontent.com/2b5225d54de46f3e0823a5ac03df7fc3d912b64540b6a1e5f4ccbd205c584acc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696e7374616e74652f6173736574732e737667)](https://packagist.org/packages/instante/assets)

Requirements
------------

[](#requirements)

- PHP 5.6 or higher
- [Nette Framework](https://github.com/nette/nette) 2.4 or higher

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

[](#installation)

The best way to install Instante assets is using [Composer](http://getcomposer.org/):

```
$ composer require instante/assets
```

Then add new extension to neon configuration

```
extensions:
    assets: Instante\Assets\DI\AssetsExtension
```

Usage
-----

[](#usage)

Instead of following code:

```

```

you should use:

```

```

It will automatically generates MD5 hash of current asset to prevent unwanted caching. Hash is regenerated after 1 week or after you manually clear cache.

To simply prepend $basePath url to asset, you can use macro `{asset 'path/to/file'}`.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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 ~1 days

Total

4

Last Release

3348d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/883765?v=4)[amik](/maintainers/amik)[@amik](https://github.com/amik)

---

Top Contributors

[![honzagula](https://avatars.githubusercontent.com/u/15079308?v=4)](https://github.com/honzagula "honzagula (5 commits)")

---

Tags

netteassetsinstante

### Embed Badge

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

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

###  Alternatives

[nette/code-checker

✅ Nette CodeChecker: A simple tool to check source code against a set of Nette coding standards.

911.7M6](/packages/nette-code-checker)[janmarek/webloader

Tool for loading or deploying CSS and JS files into web pages

107516.7k14](/packages/janmarek-webloader)[nette/web-project

Nette: Standard Web Project

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

PHPackages © 2026

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