mayocube / craft-laravel-mix
Integrates Laravel Mix Cache Busting plugin with the Craft Twig template engine.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Open Issues: 0
Type:craft-plugin
Requires
- php: >=8.2
- craftcms/cms: ^5.0.0
This package is auto-updated.
Last update: 2025-04-20 15:00:27 UTC
README
Integrates Laravel Mix Cache Busting plugin with the Craft Twig template engine.
Requirements
This plugin requires Craft CMS 5.0.0 or later.
For Craft CMS 2, use version 1.0.0.
For Craft CMS 3, use version 2.1.0.
For Craft CMS 4, use version 2.1.0.
For Craft CMS 5, use version 5.1.0.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require mayocube/craft-laravel-mix
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Laravel Mix Cache Busting Twig Extension.
Introduction
Laravel Mix itself provides a fluent API for defining Webpack build steps for your Laravel application using several common CSS and JavaScript pre-processors.
If you've ever been confused and overwhelmed about getting started with Webpack and asset compilation, you will love Laravel Mix. However, you are not required to use it while developing your application. Of course, you are free to use any asset pipeline tool you wish, or even none at all.
Official Documentation
Documentation for Laravel Mix Cache Busting can be found on the Laravel website.
Brought to you by Maarten de Graaf