PHPackages                             mrfd/kirby-mix - 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. mrfd/kirby-mix

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

mrfd/kirby-mix
==============

Laravel Mix integration for Kirby, which hooks into the existing helper functions.

1.0.4(2y ago)28MITPHP

Since May 12Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/MRFD/kirby-mix)[ Packagist](https://packagist.org/packages/mrfd/kirby-mix)[ Fund](https://buymeacoff.ee/mrfd)[ Fund](https://paypal.me/mrfdnl/5)[ RSS](/packages/mrfd-kirby-mix/feed)WikiDiscussions master Synced 1mo ago

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

Kirby Mix
=========

[](#kirby-mix)

This plugin integrates the [Laravel Mix](https://laravel-mix.com/) manifest into [Kirby](https://getkirby.com), using the existing `js()` and `css()` helper functions.

Commerical Usage
----------------

[](#commerical-usage)

This plugin is free but if you use it in a commercial project please consider to

- [Make a donation](https://paypal.me/mrfdnl/5) or
- [Buy me a coffee](https://buymeacoff.ee/mrfd)

Requirements
------------

[](#requirements)

- PHP 8.0+
- Kirby 3+

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

[](#installation)

### Download

[](#download)

[Download](https://github.com/MRFD/kirby-mix/archive/master.zip) and copy the files to `/site/plugins/kirby-mix`.

### Git submodule

[](#git-submodule)

```
$ git submodule add https://github.com/MRFD/kirby-mix.git site/plugins/kirby-mix
```

### Composer

[](#composer)

```
composer require MRFD/kirby-mix
```

Usage
-----

[](#usage)

This plugin helps with the long-term caching that Laravel Mix provides with the `mix.version()` function. Read more about it in the Laravel Mix [documentation](https://laravel-mix.com/docs/master/versioning).

The plugin is enabled by default, and passes files trough that are not in the manifest. All functionality offered by the `js()` and `css()` helpers remains unchanged.

#### Usage example

[](#usage-example)

```
