PHPackages                             atwx/silverstripe-laravel-mix-helper - 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. atwx/silverstripe-laravel-mix-helper

ActiveSilverstripe-vendormodule[Templating &amp; Views](/categories/templating)

atwx/silverstripe-laravel-mix-helper
====================================

A TemplateGlobalProvider for easy including CSS and JS packages generated by laravel mix

0182PHP

Since Mar 4Pushed 4y ago3 watchersCompare

[ Source](https://github.com/atwx/silverstripe-mix-helper)[ Packagist](https://packagist.org/packages/atwx/silverstripe-laravel-mix-helper)[ RSS](/packages/atwx-silverstripe-laravel-mix-helper/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

silverstripe-mix-helper
=======================

[](#silverstripe-mix-helper)

Utilities for using Laravel Mix inside Silverstripe CMS

Suggested Project Structure
---------------------------

[](#suggested-project-structure)

We suggest that your mix output is rendered into /app/client/dist. If not, you can put another path in the Mix command in your templates.

Using The Template Helper
-------------------------

[](#using-the-template-helper)

The `$Mix()` command can be used inside your templates to include e.g. css or js compiled by Laravel Mix. It automatically checks, if it should include the path to the compiled asset or if hot reloading is needed during development mode.

To include css or js put the following commands in your templates:

CSS inside the `` tag:

```

```

JavaScript at the end of your page's ``:

```

```

###  Health Score

18

—

LowBetter than 7% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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.

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/64d979993815fa2d2ea95b3fd72b4f43e95a631ce569f4f1c0330786971b5fc2?d=identicon)[adiwidjaja](/maintainers/adiwidjaja)

---

Top Contributors

[![wernerkrauss](https://avatars.githubusercontent.com/u/1043925?v=4)](https://github.com/wernerkrauss "wernerkrauss (2 commits)")

### Embed Badge

![Health badge](/badges/atwx-silverstripe-laravel-mix-helper/health.svg)

```
[![Health](https://phpackages.com/badges/atwx-silverstripe-laravel-mix-helper/health.svg)](https://phpackages.com/packages/atwx-silverstripe-laravel-mix-helper)
```

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3841.2M](/packages/limenius-react-bundle)[pdewit/nova-external-url

An external URL Laravel Nova field.

30383.2k](/packages/pdewit-nova-external-url)[wbrowar/guide

A CMS Guide for Craft CMS.

6154.7k1](/packages/wbrowar-guide)[localgovdrupal/localgov_base

The base theme for LocalGov Drupal websites.

13126.9k5](/packages/localgovdrupal-localgov-base)

PHPackages © 2026

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