PHPackages                             sulu/webpack-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sulu/webpack-encore

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

sulu/webpack-encore
===================

A package to install webpack encore into your package without stimilus.

1.0.0(5y ago)2176MITJavaScriptPHP ^7.2

Since Mar 17Pushed 5y ago3 watchersCompare

[ Source](https://github.com/sulu/webpack-encore)[ Packagist](https://packagist.org/packages/sulu/webpack-encore)[ RSS](/packages/sulu-webpack-encore/feed)WikiDiscussions main Synced 1w ago

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

Simple Webpack Encore
=====================

[](#simple-webpack-encore)

Simple Webpack Encore implementation, with `sass-loader` for css. This package provides a simple recipe for webpack encore to use without `Stimilus` integration and `webpack-encore-bundle`.

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

[](#installation)

```
composer require sulu/webpack-encore
```

The symfony/flex recipe should now generate the CSS/JS setup in your project directories.

### Build CSS / JS

[](#build-css--js)

```
cd assets/website
npm install
npm run build
```

### Embed JS / CSS

[](#embed-js--css)

The JS:

```

```

The CSS:

```

```

After embedding you should see a colored background. This means your build did successfully work.

### Remove Package

[](#remove-package)

Now the best is you can savely remove this package. That symfony flex will not remove the recipe files we just checkout the composer files.

```
git checkout symfony.lock composer.lock composer.json
```

### Preloading CSS / JS

[](#preloading-css--js)

If you want to preload the CSS or CSS you can do this using the symfony/web-link package:

```
composer require symfony/asset
composer require symfony/web-link
```

After this just wrap the `asset` function in `preload` e.g.:

The JS:

```

```

The CSS:

```

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity47

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

1887d ago

### Community

Maintainers

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

![](https://avatars.githubusercontent.com/u/1698337?v=4)[Alexander Schranz](/maintainers/alexander-schranz)[@alexander-schranz](https://github.com/alexander-schranz)

![](https://www.gravatar.com/avatar/79a96e73697310472951fe9173230a10d1d23f6a5b8074d260d2bb848dcbb775?d=identicon)[Prokyonn](/maintainers/Prokyonn)

---

Top Contributors

[![alexander-schranz](https://avatars.githubusercontent.com/u/1698337?v=4)](https://github.com/alexander-schranz "alexander-schranz (7 commits)")

---

Tags

symfonycmssulusulucmswebpackencore

### Embed Badge

![Health badge](/badges/sulu-webpack-encore/health.svg)

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

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[ssch/typo3-encore

Use Webpack Encore in TYPO3 Context

107465.5k4](/packages/ssch-typo3-encore)[sulu/skeleton

Project template for starting your new project based on the Sulu content management system

29733.3k](/packages/sulu-skeleton)[maba/webpack-bundle

Bundle to Integrate Webpack to Symfony

123268.2k4](/packages/maba-webpack-bundle)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)

PHPackages © 2026

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