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

ActiveLibrary

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 1mo ago

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 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

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

764d ago

Major Versions

v1.0.2 → v2.0.02021-01-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/302a4d5539139f2957faf60d731a0fbb346a2a1419acf9ace282e91a3edd8099?d=identicon)[thomas-alrek](/maintainers/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

[livewire/blaze

A tool for optimizing Blade component performance by folding them into parent templates

688221.3k17](/packages/livewire-blaze)[glhd/aire

Modern Laravel form builder. Remembers old input, retrieves error messages and comes with beautiful Tailwind-based markup out of the box.

545265.3k7](/packages/glhd-aire)[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.

44643.1k1](/packages/pressbooks-pressbooks)[konekt/html

HTML and Form Builders for the Laravel Framework

24403.2k5](/packages/konekt-html)[bjuppa/laravel-blog

Add blog functionality to your Laravel project

483.3k2](/packages/bjuppa-laravel-blog)[evanschleret/lara-mjml

Just a service provider for Spatie's MJML wrapper

1722.0k](/packages/evanschleret-lara-mjml)

PHPackages © 2026

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