PHPackages                             venveo/craft3-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. [Templating &amp; Views](/categories/templating)
4. /
5. venveo/craft3-mix

Abandoned → [venveo/craft3-mix](/?search=venveo%2Fcraft3-mix)ArchivedCraft-plugin[Templating &amp; Views](/categories/templating)

venveo/craft3-mix
=================

Helper plugin for rev-manifest in Craft templates

1.0.3(8y ago)27663[1 PRs](https://github.com/venveo/craft3-mix/pulls)MITPHP

Since May 9Pushed 7y ago1 watchersCompare

[ Source](https://github.com/venveo/craft3-mix)[ Packagist](https://packagist.org/packages/venveo/craft3-mix)[ RSS](/packages/venveo-craft3-mix/feed)WikiDiscussions master Synced 2w ago

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

Use Laravel Mix (or any rev-manifest) with Craft CMS
====================================================

[](#use-laravel-mix-or-any-rev-manifest-with-craft-cms)

You can already use Laravel Mix (Formerly Elixir) with Craft. It's rather straight forward. In fact, Matt Stauffer has an [excellent write up on using Elixir on his company blog](http://blog.tighten.co/setting-up-your-first-vuejs-site-using-laravel-elixir-and-vueify?utm_source=github.com/venveo/craft-elixir).

However, when using a CDN such as [CloudFlare](https://www.cloudflare.com/) or [Fastly](https://www.fastly.com/). You might want to take advantage of file versioning to bust the cache. This plugin lets you use Elixir's built in versioning in your Craft templates!

### Don't use Mix?

[](#dont-use-mix)

That's okay! The rev-manifest format is standard and this plugin is build-process agnostic. Just make sure your paths are configured properly.

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

[](#requirements)

- Craft 3 (Tested on Beta 10)
- Composer

Looking for a Craft 2 solution? Check out our [Laravel Elixir package for Craft 2](https://github.com/venveo/craft-elixir)

Installation and Setup
----------------------

[](#installation-and-setup)

Please follow the installation guide for Craft 3 plugins [here](https://github.com/craftcms/docs/blob/master/en/plugin-intro.md#loading-your-plugin-into-craft)

Usage
-----

[](#usage)

Twig Function

```
{{ mix('css/all.css') }}

```

> *Note:* you can optionally output the entire HTML tag by passing a second argument `true` to the function (e.g `{{ elixir('css/all.css', true) }}`.

Twig Filter

```
{{ 'css/all.css' | mix }}

```

``

and

``

If you are especially lazy, you can have the plugin automatically create the entire tag, based on the file extension.

`{{ craft.mix.withTag('js/app.js') | raw }}`

This will output the `` or `` tags appropriately.

Credits
-------

[](#credits)

- [Jason McCallister](https://github.com/themccallister)
- [Carlo Latiano](https://github.com/carlolaitano)
- [Ransom Roberson](https://github.com/mosnar)

About Venveo
------------

[](#about-venveo)

Venveo is a Digital Marketing Agency for Building Materials Companies in Blacksburg, VA. Learn more about us on [our website](https://www.venveo.com).

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 59.2% 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 ~21 days

Total

4

Last Release

3276d ago

### Community

Maintainers

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

---

Top Contributors

[![jasonmccallister](https://avatars.githubusercontent.com/u/5354908?v=4)](https://github.com/jasonmccallister "jasonmccallister (29 commits)")[![Mosnar](https://avatars.githubusercontent.com/u/3810939?v=4)](https://github.com/Mosnar "Mosnar (18 commits)")[![incraigulous](https://avatars.githubusercontent.com/u/5910297?v=4)](https://github.com/incraigulous "incraigulous (1 commits)")[![marcusmoore](https://avatars.githubusercontent.com/u/1141514?v=4)](https://github.com/marcusmoore "marcusmoore (1 commits)")

---

Tags

cmsCraftcraftcmscraft-pluginmix

### Embed Badge

![Health badge](/badges/venveo-craft3-mix/health.svg)

```
[![Health](https://phpackages.com/badges/venveo-craft3-mix/health.svg)](https://phpackages.com/packages/venveo-craft3-mix)
```

###  Alternatives

[wbrowar/guide

A CMS Guide for Craft CMS.

6154.6k1](/packages/wbrowar-guide)[verbb/footnotes

Adds a footnotes feature to CKEditor fields and Twig templates.

213.5k](/packages/verbb-footnotes)[jalendport/craft-preparse

A fieldtype that parses Twig when an element is saved and saves the result as plain text.

1087.5k](/packages/jalendport-craft-preparse)[verbb/color-mixer

A set of Twig filters for modifying colors.

1321.1k](/packages/verbb-color-mixer)[vierbeuter/craft-footnotes

Adds a footnotes feature to CKEditor fields and Twig templates.

212.7k](/packages/vierbeuter-craft-footnotes)

PHPackages © 2026

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