PHPackages                             zquintana/laravel-webpack - 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. zquintana/laravel-webpack

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

zquintana/laravel-webpack
=========================

Integrate Webpack into Laravel

1.0.1(9y ago)0137MITPHPPHP ^5.3.2 || &gt;=7.0 &lt;7.2

Since Jun 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/zquintana/laravel-webpack)[ Packagist](https://packagist.org/packages/zquintana/laravel-webpack)[ RSS](/packages/zquintana-laravel-webpack/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Package to Integrate Webpack into Laravel
=========================================

[](#package-to-integrate-webpack-into-laravel)

Package to help integrating [webpack](https://webpack.js.org/) into Laravel project.

[Documentation](https://zquintana.github.io/laravel-webpack/)

What is webpack?
----------------

[](#what-is-webpack)

Module bundler and CommonJS / AMD dependency manager.

For me, it replaces both grunt/gulp and RequireJS.

What does this package do?
--------------------------

[](#what-does-this-package-do)

1. Finds javascript entry points inside your blade templates.
2. Runs webpack with [assets-webpack-plugin](https://github.com/sporto/assets-webpack-plugin).
3. Saves generated file names, so that twig function returns correct URL to generated asset.

Additionally, for development environment:

1. Runs [webpack-dev-server](https://webpack.js.org/configuration/dev-server/), which serves and regenerates assets if they are changed.
2. Watches twig templates for changes, updates entry points and restarts webpack-dev-server if webpack configuration changes.

More goodies:

1. Lets you configure webpack config as you want, while still providing needed parameters from Laravel, like entry points, aliases, environment and additional parameters.
2. Lets you define custom entry point providers if you don't use twig or include scripts in any other way.
3. Works with images and css/less/sass files out-of-the-box, if needed.
4. Supports both Webpack 2 (by default) and Webpack 1.

Credits
-------

[](#credits)

- Thanks to [Marius Balčytis](https://github.com/mariusbalcytis) this package is a fork of his Symfony [Webpack Bundle](https://github.com/mariusbalcytis/webpack-bundle).

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 72.8% 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

Every ~4 days

Total

3

Last Release

3298d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c07c0c54fce53a4e3d0f13300de39fcce4925cbe91cb4d6b294690a97e83b7c1?d=identicon)[zquintana](/maintainers/zquintana)

---

Top Contributors

[![mariusbalcytis](https://avatars.githubusercontent.com/u/1590072?v=4)](https://github.com/mariusbalcytis "mariusbalcytis (59 commits)")[![zquintana](https://avatars.githubusercontent.com/u/130444?v=4)](https://github.com/zquintana "zquintana (13 commits)")[![maryo](https://avatars.githubusercontent.com/u/900769?v=4)](https://github.com/maryo "maryo (2 commits)")[![cpxPratik](https://avatars.githubusercontent.com/u/6893334?v=4)](https://github.com/cpxPratik "cpxPratik (2 commits)")[![lakhman](https://avatars.githubusercontent.com/u/1582690?v=4)](https://github.com/lakhman "lakhman (1 commits)")[![tmeliberty](https://avatars.githubusercontent.com/u/6770025?v=4)](https://github.com/tmeliberty "tmeliberty (1 commits)")[![vbartusevicius](https://avatars.githubusercontent.com/u/7325630?v=4)](https://github.com/vbartusevicius "vbartusevicius (1 commits)")[![zalox](https://avatars.githubusercontent.com/u/2240543?v=4)](https://github.com/zalox "zalox (1 commits)")[![linaori](https://avatars.githubusercontent.com/u/1754678?v=4)](https://github.com/linaori "linaori (1 commits)")

---

Tags

laravellaravel-5-packagelaravel-packagelaravel5-packagewebpackwebpack2laravelassetsamdwebpackcommonjs

### Embed Badge

![Health badge](/badges/zquintana-laravel-webpack/health.svg)

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

###  Alternatives

[maba/webpack-bundle

Bundle to Integrate Webpack to Symfony

122268.3k4](/packages/maba-webpack-bundle)[jasonlewis/resource-watcher

Simple PHP resource watcher library.

221146.1k14](/packages/jasonlewis-resource-watcher)[efficiently/jquery-laravel

This package provides jQuery and the jQuery-ujs driver for your Laravel &gt;= 6 application.

1311.2k1](/packages/efficiently-jquery-laravel)

PHPackages © 2026

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