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

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

ssmix/mix
=========

Laravel Mix support for Silverstripe.

v1.0.0(4y ago)073[1 issues](https://github.com/cjsewell/silverstripe-mix/issues)1BSD-3-ClausePHPCI failing

Since Aug 1Pushed 4y ago1 watchersCompare

[ Source](https://github.com/cjsewell/silverstripe-mix)[ Packagist](https://packagist.org/packages/ssmix/mix)[ RSS](/packages/ssmix-mix/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (4)Versions (2)Used By (1)

Laravel Mix support for SilverStripe
====================================

[](#laravel-mix-support-for-silverstripe)

Adds basic Laravel Mix support to SilverStripe CMS. Supports hot module reloading

See [ssmix/bootstrap-theme](https://github.com/cjsewell/silverstripe-mix-bootstrap-theme/) for an example theme using ssmix

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

[](#requirements)

- SilverStripe ^4.0.

License
-------

[](#license)

See [License](license.md)

Documentation
-------------

[](#documentation)

### Template Requirements API

[](#template-requirements-api)

**/themes/&lt;my-theme-dir&gt;/templates/SomeTemplate.ss**

```
$mix("/js/my-js-file.js")
$mix("/css/my-css-file.css")
```

### PHP Requirements API

[](#php-requirements-api)

```
use function SSMix\mix;

class MyCustomController extends Controller
{
    protected function init()
    {
        parent::init();

        mix("/js/my-js-file.js");
        mix("/css/my-css-file.css");
    }
}
```

...to do

Example configuration (optional)
--------------------------------

[](#example-configuration-optional)

...to do

Maintainers
-----------

[](#maintainers)

- Corey Sewell

Bugtracker
----------

[](#bugtracker)

Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.

If the issue does look like a new bug:

- Create a new issue
- Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
- Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.

Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.

Development and contribution
----------------------------

[](#development-and-contribution)

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

1797d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5317dd0ba5eb4981ad9d6c5bbb0cfceb41ce0eca8e34c9987e9dca8a41af1672?d=identicon)[cjsewell](/maintainers/cjsewell)

---

Top Contributors

[![cjsewell](https://avatars.githubusercontent.com/u/1856199?v=4)](https://github.com/cjsewell "cjsewell (1 commits)")

---

Tags

silverstripelaravel-mix

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1371.1M85](/packages/silverstripe-userforms)[symbiote/silverstripe-gridfieldextensions

A collection of useful grid field components

951.9M271](/packages/symbiote-silverstripe-gridfieldextensions)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[silverstripe/tagfield

Tag field for SilverStripe

561.3M50](/packages/silverstripe-tagfield)[jonom/silverstripe-betternavigator

Front-end utility menu for Silverstripe websites featuring administration and development tools

60435.1k13](/packages/jonom-silverstripe-betternavigator)[lekoala/silverstripe-cms-actions

Add actions to your models in SilverStripe

39344.8k31](/packages/lekoala-silverstripe-cms-actions)

PHPackages © 2026

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