Skip to main content

· One min read

Version 2.0 of laminas-webpack is now available.

Summary

This release does not add new functionality.

  • PHP versions supported: 7.4, 8.0. 8.1
  • Added type declarations
  • Added test and code checking

Breaking Changes:

  • Removed deprecated functions from version 1:
    • WebpackOptions::getScriptList($routeMatched)
  • Minimum requirements for PHP is 7.4.

Credits

Thanks to fabiang who made the updates.

· One min read

If you are using Laminas MVC and want to also use Webpack to bundle and manage dependencies in your frontend Javascript, I wrote a guide that explains how to use the laminas-webpack Laminas module and php-webpack-plugin Webpack plugin to integrate and automate the bundling of frontend JS scripts in a Laminas Mvc application.

This is a replacement for zend-webpack which is now abandoned.