symfony/webpack-encore

A simple but powerful API for processing & compiling assets built around Webpack

JavaScript

2,221

1,631 commits

updated Oct 1, 2026

See the code

README

Webpack Encore: A Simple & Powerful Webpack API

Build Status NPM Version Node

Webpack Encore is a simpler way to integrate Webpack into your application. It wraps Webpack, giving you a clean & powerful API for bundling JavaScript modules, pre-processing CSS & JS and compiling and minifying assets. Encore gives you a professional asset system that's a delight to use.

[!IMPORTANT] Webpack Encore is now in low-maintenance mode (bug fixes, security patches, and peerDependencies updates only). If your project needs a bundler, we recommend migrating to Symfony Reprise.

[!TIP] Symfony released an AssetMapper component, a production-ready simpler alternative to Webpack Encore that runs entirely in PHP.

Encore is inspired by Webpacker and Mix, but stays in the spirit of Webpack: using its features, concepts and naming conventions for a familiar feel. It aims to solve the most common Webpack use cases.

Encore is made by Symfony and works beautifully in Symfony applications. But it can easily be used in any application... in any language!

Documentation

Read the Documentation on symfony.com.

babel
less
postcss
react
sass
symfony
webpack

Significant stargazers

Peter Kokot

1,192 followers · starred Jun 2017

Luyu Cheng

316 followers · starred Apr 2022

Ilija Tovilo

483 followers · starred Nov 2019

Ade Viankakrisna Fadlil

177 followers · starred Feb 2018

symfony/webpack-encore

A simple but powerful API for processing & compiling assets built around Webpack

JavaScript

2,221

1,631 commits

updated Oct 1, 2026

See the code

README

Webpack Encore: A Simple & Powerful Webpack API

Build Status NPM Version Node

Webpack Encore is a simpler way to integrate Webpack into your application. It wraps Webpack, giving you a clean & powerful API for bundling JavaScript modules, pre-processing CSS & JS and compiling and minifying assets. Encore gives you a professional asset system that's a delight to use.

[!IMPORTANT] Webpack Encore is now in low-maintenance mode (bug fixes, security patches, and peerDependencies updates only). If your project needs a bundler, we recommend migrating to Symfony Reprise.

[!TIP] Symfony released an AssetMapper component, a production-ready simpler alternative to Webpack Encore that runs entirely in PHP.

Encore is inspired by Webpacker and Mix, but stays in the spirit of Webpack: using its features, concepts and naming conventions for a familiar feel. It aims to solve the most common Webpack use cases.

Encore is made by Symfony and works beautifully in Symfony applications. But it can easily be used in any application... in any language!

Documentation

Read the Documentation on symfony.com.

babel
less
postcss
react
sass
symfony
webpack

Significant stargazers

Peter Kokot

1,192 followers · starred Jun 2017

Luyu Cheng

316 followers · starred Apr 2022

Ilija Tovilo

483 followers · starred Nov 2019

Ade Viankakrisna Fadlil

177 followers · starred Feb 2018

Languages

JavaScript

61.3%

TypeScript

37.2%

Vue

1.0%