PHPackages                             smthdiff/craft-encore - 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. [Templating &amp; Views](/categories/templating)
4. /
5. smthdiff/craft-encore

ActiveCraft-plugin[Templating &amp; Views](/categories/templating)

smthdiff/craft-encore
=====================

Helper plugin for Webpack Encode in Craft CMS templates

1.0.0(5y ago)0241MITPHP

Since Nov 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/SmthDiff/craft-encore)[ Packagist](https://packagist.org/packages/smthdiff/craft-encore)[ RSS](/packages/smthdiff-craft-encore/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (2)Used By (1)

SmthDiff Craft Plugin for Webpack Encore
========================================

[](#smthdiff-craft-plugin-for-webpack-encore)

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

[](#requirements)

This plugin requires Craft CMS 3.0.0 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 smthdiff/craft-encore
```

3. In the Craft Control Panel, go to `Settings → Plugins` and click the "Install" button for **Webpack Encore**.

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

[](#configuration)

To configure Webpack Encore go to `Settings → Plugins → Webpack Encore` in the Craft Control Panel.

The available settings are:

- **Asset Path** - The path of the asset directory where the project stores the source files
- **Build Path** - The path of the asset directory where Webpack Encore stores the compiled files

**Usage of Asset Path**

`/assets/` in project root contains the CSS, JS, Images and Font Files.

**Usage of Build Path**

`/web/build/` in project root contains the CSS, JS, Images and Font Files.

Usage
-----

[](#usage)

Add versioned CSS files.

```
{{ craft.encore.entryLinkTag('app') | raw }}
```

Add versioned JS files.

```
{{ craft.encore.entryScriptTag('app') | raw }}
```

License
-------

[](#license)

Craft Encore is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT/).

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

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

2047d ago

### Community

Maintainers

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

---

Top Contributors

[![cstadler333](https://avatars.githubusercontent.com/u/5268387?v=4)](https://github.com/cstadler333 "cstadler333 (1 commits)")

---

Tags

craft-plugincraft3craftcmsCraftcraftcmscraft-pluginwebpackcraft3webpack-encore

### Embed Badge

![Health badge](/badges/smthdiff-craft-encore/health.svg)

```
[![Health](https://phpackages.com/badges/smthdiff-craft-encore/health.svg)](https://phpackages.com/packages/smthdiff-craft-encore)
```

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k69](/packages/verbb-formie)[wbrowar/guide

A CMS Guide for Craft CMS.

6154.7k1](/packages/wbrowar-guide)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)[verbb/hyper

A user-friendly links field for Craft.

24147.8k12](/packages/verbb-hyper)[verbb/footnotes

Adds a footnotes feature to CKEditor fields and Twig templates.

213.6k](/packages/verbb-footnotes)[verbb/events

A full-featured plugin for event management and ticketing.

2311.9k](/packages/verbb-events)

PHPackages © 2026

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