PHPackages                             apility/laravel-mix-components - 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. apility/laravel-mix-components

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

apility/laravel-mix-components
==============================

apility/laravel-mix-components

v2.4.1(2y ago)14.5k[3 PRs](https://github.com/apility/laravel-mix-components/pulls)MITPHP

Since Apr 29Pushed 2y agoCompare

[ Source](https://github.com/apility/laravel-mix-components)[ Packagist](https://packagist.org/packages/apility/laravel-mix-components)[ RSS](/packages/apility-laravel-mix-components/feed)WikiDiscussions master Synced today

READMEChangelog (8)Dependencies (3)Versions (17)Used By (0)

Laravel Mix Components
======================

[](#laravel-mix-components)

An easier way of including laravel mix in your project.

Laravel Mix Components provides components for easily connecting your laravel mix setup to your html.
Whether you run `build`, `watch`, or `hot`, this will read the manifest and insert the right `` and ``tags at the appropriate places.

Installation
------------

[](#installation)

`$ composer require apility/laravel-mix-components`

Usage
-----

[](#usage)

Insert the `` and `` blade components at the end of your `` and ``.

```
>

    ...

    ...

```

Configuration
-------------

[](#configuration)

### Props

[](#props)

#### `preload`

[](#preload)

Preloads asssets. This prop only applies to ``

##### Example

[](#example)

```

```

#### `integrity`

[](#integrity)

Generates [SRI integrity hashes](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) for each asset. Must be a valid algorithm supportedd by PHP. Most browsers only supports `sha256`, `sha384` and `sha512`.

##### Example

[](#example-1)

```

```

#### `crossorigin`

[](#crossorigin)

Sets the crossorigin CORS attribute. Often required by the browser if the asset is located on a different origin. If SRI is enabled, the crossorigin value must be set, otherwise the browser treats it like the integrity hash is invalid.

##### Example

[](#example-2)

```

```

#### `manifest-directory`

[](#manifest-directory)

Laravel Mix will by default output the `hot` and `mix-manifest.json` files in the root of `/public`.
Laravel Mix Components can be configured to read the file in another directory.
The path segment given will be appended to the base directory `/public`.

This prop must be set on both `` and ``.

##### Example

[](#example-3)

```

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~131 days

Recently: every ~289 days

Total

12

Last Release

810d ago

Major Versions

v1.0.2 → v2.0.02021-01-29

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14291825?v=4)[Thomas Alrek](/maintainers/thomas-alrek)[@thomas-alrek](https://github.com/thomas-alrek)

![](https://www.gravatar.com/avatar/93300f1d57e4f198d035a680f1de6a8635becc12052acbe74a08f578b124863b?d=identicon)[cathrinevaage](/maintainers/cathrinevaage)

---

Top Contributors

[![thomas-alrek](https://avatars.githubusercontent.com/u/14291825?v=4)](https://github.com/thomas-alrek "thomas-alrek (10 commits)")[![cathrinevaage](https://avatars.githubusercontent.com/u/8112742?v=4)](https://github.com/cathrinevaage "cathrinevaage (4 commits)")[![codekriss](https://avatars.githubusercontent.com/u/70336161?v=4)](https://github.com/codekriss "codekriss (1 commits)")

---

Tags

hacktoberfestlaravel-mixapility

### Embed Badge

![Health badge](/badges/apility-laravel-mix-components/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[livewire/flux

The official UI component library for Livewire.

9527.8M128](/packages/livewire-flux)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

725173.2k14](/packages/tallstackui-tallstackui)[webwizo/laravel-shortcodes

Wordpress like shortcodes for Laravel 11, 12 and 13

217700.9k8](/packages/webwizo-laravel-shortcodes)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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