PHPackages                             vinorcola/distant-versioned-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. vinorcola/distant-versioned-assets-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

vinorcola/distant-versioned-assets-bundle
=========================================

Use distant versioned assets by loading the manifest.json file.

v1.0.0(7y ago)07MITPHPPHP ^7.1

Since Aug 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Vinorcola/DistantVersionedAssetsBundle)[ Packagist](https://packagist.org/packages/vinorcola/distant-versioned-assets-bundle)[ RSS](/packages/vinorcola-distant-versioned-assets-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

VinorcolaDistantVersionedAssetsBundle
=====================================

[](#vinorcoladistantversionedassetsbundle)

Link versioned assets across projects.

If you application needs to use some assets from a distant source and those assets are versioned, you can use this bundle to link them. The only requirement is that the distant source publish a `manifest.json`.

You can configure several targets (i.e. distant sources)

Installation
============

[](#installation)

```
composer require vinorcola/distant-versioned-assets-bundle

```

Configuration
=============

[](#configuration)

You must configure at least one target.

```
# config/packages/vinorcola_distant_versioned_assets.yaml

vinorcola_distant_versioned_assets:
    targets:
        default:
            url: https://my-distant-storage.com
            manifestPath: build/manifest.json # Optional, default value
            cacheTtl: 3600 # Optional, default value
```

The manifest path is optional and is `build/manifest.json` by default. The manifest file is fetch and its content is cached to avoid querying the distant source at each request. You can configure the cache TTL (1 hour by default).

Usage
=====

[](#usage)

Then, in Twig template, you can simply use the `distantAsset` function instead of `asset` function.

```

```

Advanced usage
==============

[](#advanced-usage)

You can configure several targets if needed.

```
# config/packages/vinorcola_distant_versioned_assets.yaml

vinorcola_distant_versioned_assets:
    targets:
        default:
            url: https://my-distant-storage.com
        reference:
            url: https://my-reference-storage.com
```

```
 {# Uses the default target. #}
 {# Uses the reference target. #}
```

If you have no target named `default`, you must indicate the default target:

```
# config/packages/vinorcola_distant_versioned_assets.yaml

vinorcola_distant_versioned_assets:
    defaultTarget: storage
    targets:
        storage:
            url: https://my-distant-storage.com
        reference:
            url: https://my-reference-storage.com
```

Note that if you only have one target, there is no need to configure the `defaultTarget` option, whatever the target name is.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Unknown

Total

1

Last Release

2837d ago

### Community

Maintainers

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

---

Top Contributors

[![Vinorcola](https://avatars.githubusercontent.com/u/2178680?v=4)](https://github.com/Vinorcola "Vinorcola (3 commits)")

### Embed Badge

![Health badge](/badges/vinorcola-distant-versioned-assets-bundle/health.svg)

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

###  Alternatives

[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)

PHPackages © 2026

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