承接 emkcloud/livewire-tweak 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

emkcloud/livewire-tweak

最新稳定版本:1.7.0

Composer 安装命令:

composer require emkcloud/livewire-tweak

包简介

Tweaks and overrides for Livewire packages

README 文档

README

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

Requirements

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

Installation

composer require emkcloud/livewire-tweak

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

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

Environment variables

License

The MIT License (MIT). Please see the package License file for more information.

统计信息

  • 总下载量: 1.19k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固