PHPackages                             ersindemirtas-pp/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. ersindemirtas-pp/craft3-mix

ActiveCraft-plugin

ersindemirtas-pp/craft3-mix
===========================

Helper plugin for rev-manifest in Craft templates

1.0.3(8y ago)01MITPHP

Since May 9Pushed 5y agoCompare

[ Source](https://github.com/ersindemirtas-pp/craft3-mix)[ Packagist](https://packagist.org/packages/ersindemirtas-pp/craft3-mix)[ RSS](/packages/ersindemirtas-pp-craft3-mix/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (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

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 56.9% 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

3228d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ecde62de9a6b98795991d735a0eeb407609404ee410eb0882d724c615a45c63e?d=identicon)[ersindemirtas-pp](/maintainers/ersindemirtas-pp)

---

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)")[![ersindemirtas-pp](https://avatars.githubusercontent.com/u/67053986?v=4)](https://github.com/ersindemirtas-pp "ersindemirtas-pp (2 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/ersindemirtas-pp-craft3-mix/health.svg)

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

###  Alternatives

[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.4M46](/packages/nystudio107-craft-seomatic)[verbb/image-resizer

Resize assets when they are uploaded.

127269.1k7](/packages/verbb-image-resizer)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[verbb/hyper

A user-friendly links field for Craft.

24130.9k9](/packages/verbb-hyper)[verbb/social-poster

Automatically post entries to social media.

918.5k](/packages/verbb-social-poster)[acclaro/translations

Easily launch and manage multilingual Craft websites without having to copy/paste content or manually track updates.

1229.5k](/packages/acclaro-translations)

PHPackages © 2026

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