Symfony Webpack Encore
JavaScript wrapper around webpack that bundles modules and compiles and minifies CSS and JavaScript assets, used in Symfony and other applications.
symfony.com/doc/current/frontend.htmlrepositorydocs
Symfony Webpack Encore is a wrapper around webpack, with a smaller API for bundling JavaScript modules and for pre-processing and compiling CSS and JavaScript assets. A Symfony application installs it with a Composer bundle, which adds the Node dependencies, an assets directory and a webpack.config.js file; any other project installs the npm package and writes the same configuration by hand. The configuration calls the Encore API, and the example build writes its output to public/build, where the web server serves it. Symfony maintains Encore.
Worth knowing
Encore is in low-maintenance mode: the project takes bug fixes, security patches and peer dependency updates only. The README recommends Symfony Reprise for projects that need a bundler and names the Symfony AssetMapper component as a simpler alternative that runs entirely in PHP.
Identity
Rendering and deploy
Releases
Adoption
Sources
- 2026-10-28: links, Written in, License, GitHub stars
api.github.com/repos/symfony/webpack-encore - 2026-10-28: links, Maintainer, Categories, Built on
raw.githubusercontent.com/symfony/webpack-encore/main/README.md - 2026-10-28: Runtime, Minimum runtime
raw.githubusercontent.com/symfony/webpack-encore/v7.2.0/package.json - 2026-10-28: Install with
symfony.com/doc/current/frontend/encore/installation.html - 2026-10-28: Runs as
symfony.com/doc/current/frontend/encore/simple-example.html - 2026-10-28: License model
raw.githubusercontent.com/symfony/webpack-encore/main/LICENSE - 2026-10-28: First release
api.github.com/repos/symfony/webpack-encore/releases?per_page=100 - 2026-10-28: Current major version, Last release
api.github.com/repos/symfony/webpack-encore/releases?per_page=30 - 2026-10-28: Contributors
api.github.com/repos/symfony/webpack-encore/contributors?per_page=1 - 2026-10-28: npm downloads a week
api.npmjs.org/downloads/range/2026-09-28:2026-10-04/@symfony/webpack-encore - 2026-10-28: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/%40symfony%2Fwebpack-encore