PHPackages                             emkcloud/livewire-tweak - 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. emkcloud/livewire-tweak

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

emkcloud/livewire-tweak
=======================

Tweaks and overrides for Livewire packages

1.7.0(3mo ago)41.2k↓70%MITPHP

Since May 8Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/emkcloud/livewire-tweak)[ Packagist](https://packagist.org/packages/emkcloud/livewire-tweak)[ Docs](https://github.com/emkcloud/livewire-tweak)[ GitHub Sponsors](https://github.com/emkcloud)[ RSS](/packages/emkcloud-livewire-tweak/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (10)Dependencies (6)Versions (13)Used By (0)

Livewire Tweak
==============

[](#livewire-tweak)

**Custom tweaks for Livewire and Flux**

Blade directives, script output, and internal behavior have been adjusted. Custom prefixes were added to the default assets to ensure proper use in load-balanced environments.

**Why this package exists**

I built this package based on my experience working with clients who use firewalls and traffic load balancers that rely on custom URL prefixes such as `/admin`, `/backend`, `/customers`, etc.

In these environments, using popular Laravel packages like Nova, Livewire, or others can be problematic, because they often rely on absolute paths for assets and internal API calls.

Features
--------

[](#features)

- [Livewire Core Prefix](docs/contents/core-prefix.md)
- [Livewire Core Middleware](docs/contents/core-middleware.md)
- [Livewire Flux Prefix](docs/contents/flux-prefix.md)
- [Livewire Flux Middleware](docs/contents/flux-middleware.md)

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

[](#requirements)

- Laravel ^12|^13
- Livewire ^3.7|^4.2
- Livewire Flux ^2.1 (optional)
- Livewire Flux PRO ^2.1 (optional)

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

[](#installation)

```
composer require emkcloud/livewire-tweak
```

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

[](#configuration)

The configuration file is optional. You can simply define the variables directly in your .env file. However, if you need to customize the options, you can publish the configuration file:

```
php artisan vendor:publish --tag=livewire-tweak:config
```

All options in the package have default values, so you only need to define the ones you want to customize in your configuration file.

```
LIVEWIRE_TWEAK_CORE_PREFIX_ENABLE=false
LIVEWIRE_TWEAK_CORE_PREFIX_GROUPS=""
LIVEWIRE_TWEAK_CORE_PREFIX_ASSETS="livewire"
LIVEWIRE_TWEAK_CORE_PREFIX_ROUTES="livewire"
LIVEWIRE_TWEAK_CORE_PREFIX_DOMAIN=true
```

```
LIVEWIRE_TWEAK_CORE_MIDDLEWARE_ENABLE=false
LIVEWIRE_TWEAK_CORE_MIDDLEWARE_ASSIGN=""
LIVEWIRE_TWEAK_CORE_MIDDLEWARE_ASSETS=false
LIVEWIRE_TWEAK_CORE_MIDDLEWARE_ROUTES=false
LIVEWIRE_TWEAK_CORE_MIDDLEWARE_REMOVE=false
```

Environment
-----------

[](#environment)

To view all available variables and their meanings, refer to the following file:

> [Environment variables](examples/variables.env)

License
-------

[](#license)

The MIT License (MIT). Please see the package [License file](LICENSE.md) for more information.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance82

Actively maintained with recent releases

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Every ~29 days

Recently: every ~79 days

Total

12

Last Release

93d ago

### Community

Maintainers

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

---

Top Contributors

[![emkcloud](https://avatars.githubusercontent.com/u/5731295?v=4)](https://github.com/emkcloud "emkcloud (304 commits)")

---

Tags

laravelfluxlivewireassets

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/emkcloud-livewire-tweak/health.svg)

```
[![Health](https://phpackages.com/badges/emkcloud-livewire-tweak/health.svg)](https://phpackages.com/packages/emkcloud-livewire-tweak)
```

###  Alternatives

[livewire/flux

The official UI component library for Livewire.

9476.8M121](/packages/livewire-flux)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[masmerise/livewire-toaster

Beautiful toast notifications for Laravel / Livewire.

508602.4k7](/packages/masmerise-livewire-toaster)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

42010.0k](/packages/venturedrake-laravel-crm)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.2k](/packages/tomshaw-electricgrid)[arm092/livewire-datatables

Advanced datatables using Laravel, Livewire, Tailwind CSS and Alpine JS

3058.4k](/packages/arm092-livewire-datatables)

PHPackages © 2026

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