PHPackages                             wnx/kirby-laravel-mix-helper - 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. wnx/kirby-laravel-mix-helper

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

wnx/kirby-laravel-mix-helper
============================

Helper to use Version Busting of Laravel Mix

v1.0.0(8y ago)459MITPHP

Since Mar 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/stefanzweifel/kirby-laravel-mix-helper)[ Packagist](https://packagist.org/packages/wnx/kirby-laravel-mix-helper)[ Docs](https://github.com/stefanzweifel/kirby-laravel-mix-helper)[ RSS](/packages/wnx-kirby-laravel-mix-helper/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

kirby-laravel-mix-helper
========================

[](#kirby-laravel-mix-helper)

Kirby Plugin to use [laravel-mix](https://github.com/JeffreyWay/laravel-mix)'s Versioning / Cache Busting.

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

[](#installation)

Place `kirby-laravel-mix-helper.php` into `/site/plugins/kirby-laravel-mix-helper` folder.

### Advanced: Composer

[](#advanced-composer)

You can also install this plugin through composer. Execute the following command in the root of your kirby plugin. Composer will place the files automatically in the plugins directory.

```
composer require wnx/kirby-laravel-mix-helper

```

#### Change Installation Path

[](#change-installation-path)

If you have a custom folder structure in your kirby project, you can also adjust the installation path within your `composer.json`. Add the following setting:

```
"extra": {
    "installer-paths": {
        "dist/site/plugins/kirby-laravel-mix-helper": ["wnx/kirby-laravel-mix-helper"]
    }
}
```

### Advanced: Git Submodules

[](#advanced-git-submodules)

```
git submodule add https://github.com/stefanzweifel/kirby-laravel-mix-helper.git site/plugins/kirby-laravel-mix-helper
```

Usage
-----

[](#usage)

After installing the plugin the `mix()` helper is available to you. In your template you can then use it in your `link`- and `script`-tags like this:

```
