PHPackages                             pcuser42/cakephp-webpack-asset-loader - 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. pcuser42/cakephp-webpack-asset-loader

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

pcuser42/cakephp-webpack-asset-loader
=====================================

Webpack Asset handling plugin for CakePHP. It takes an exported entrypoints.json file and then automatically loads all assets for a specified entry point.

v2.0.2(1y ago)0775MITPHPPHP &gt;=8.0CI passing

Since Feb 23Pushed 2mo agoCompare

[ Source](https://github.com/pcuser42/cakephp-webpack-asset-loader)[ Packagist](https://packagist.org/packages/pcuser42/cakephp-webpack-asset-loader)[ RSS](/packages/pcuser42-cakephp-webpack-asset-loader/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (3)Versions (7)Used By (0)

[![Build Status](https://camo.githubusercontent.com/a4e5df5f2d07421c7dde5e6f6ea3dce1fa58f6d6eaed74e5fdbd3649cf8eb477/68747470733a2f2f7472617669732d63692e6f72672f70637573657234322f63616b657068702d7765627061636b2d61737365742d6c6f616465722e7376673f6272616e63683d6d61696e)](https://travis-ci.org/pcuser42/cakephp-webpack-asset-loader)[![codecov](https://camo.githubusercontent.com/c38e939502458db0cbb2f8b4e3720c4418fea21e0c9a7dfbd6be26d7a6e24b9d/68747470733a2f2f636f6465636f762e696f2f67682f70637573657234322f63616b657068702d7765627061636b2d61737365742d6c6f616465722f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/pcuser42/cakephp-webpack-asset-loader)

WebpackAssetLoader plugin for CakePHP
=====================================

[](#webpackassetloader-plugin-for-cakephp)

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

[](#installation)

You can install this plugin into your CakePHP application using [composer](https://getcomposer.org).

The recommended way to install composer packages is:

```
composer require pcuser42/cakephp-webpack-asset-loader

```

Use
---

[](#use)

Load the plugin in `Application`

```
$this->addPlugin('Pcuser42/WebpackAssetLoader');
```

Load the helper in `AppView`

```
$this->loadHelper('Pcuser42/WebpackAssetLoader.Asset');
```

Load all assets for an entrypoint in your template file:

```
