PHPackages                             heggemsnes/parcel-twig - 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. heggemsnes/parcel-twig

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

heggemsnes/parcel-twig
======================

Get correct asset paths from Parcel when using Parcel Manifest.

1.0.0(5y ago)059MITPHPCI failing

Since Jul 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/heggemsnes/parcel-twig)[ Packagist](https://packagist.org/packages/heggemsnes/parcel-twig)[ RSS](/packages/heggemsnes-parcel-twig/feed)WikiDiscussions master Synced 6d ago

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

ParcelTwig plugin for Craft CMS 3.x
===================================

[](#parceltwig-plugin-for-craft-cms-3x)

Get correct asset paths from Parcel when using Parcel Manifest.

[![Screenshot](resources/img/plugin-logo.png)](resources/img/plugin-logo.png)

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

[](#requirements)

This plugin requires Craft CMS 3.0.0-beta.23 or later.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require heggemsnes/parcel-twig

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for ParcelTwig.

ParcelTwig Overview
-------------------

[](#parceltwig-overview)

Simple plugin for extracting correct asset path from parcel-manifest.json when using parcel. Check out  for usecase.

Configuring ParcelTwig
----------------------

[](#configuring-parceltwig)

You can change the path to the parcel-manifest.json file as well as to your dist folder in the settings.

Using ParcelTwig
----------------

[](#using-parceltwig)

Use the twig function {{asset("index.js")}} to generate a script tag linking to i.e. js.00a46daa.js bundle.

Brought to you by [Sigurd Heggemsnes](kult.design)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

2126d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5cc7527d57124d532df3de0dca83af2e9d80159c5fdb385c58bc27b7133143b9?d=identicon)[heggemsnes](/maintainers/heggemsnes)

---

Top Contributors

[![heggemsnes](https://avatars.githubusercontent.com/u/36757859?v=4)](https://github.com/heggemsnes "heggemsnes (7 commits)")

---

Tags

cmsCraftcraftcmscraft-pluginparceltwig

### Embed Badge

![Health badge](/badges/heggemsnes-parcel-twig/health.svg)

```
[![Health](https://phpackages.com/badges/heggemsnes-parcel-twig/health.svg)](https://phpackages.com/packages/heggemsnes-parcel-twig)
```

###  Alternatives

[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)[pennebaker/craft-architect

CraftCMS plugin to generate content models from JSON/YAML data.

72148.5k5](/packages/pennebaker-craft-architect)

PHPackages © 2026

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