承接 marcusvy/live-bundle 相关项目开发

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

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

marcusvy/live-bundle

最新稳定版本:v1.0.7

Composer 安装命令:

composer require marcusvy/live-bundle

包简介

Simple Live Reload for Symfony 8 + AssetMapper

README 文档

README

Installation

  1. Use Composer to install the package:

    composer require marcusvy/live-bundle --dev
    
  2. Add the <twig:LiveReload /> component to the Twig layout. Preferably before the closing tag .

<!DOCTYPE html>
<html>
    <head></head>
    <body>
        <!-- Adicione o component Twig-->
        <twig:LiveReload />
    </body>
</html>
  1. Rode o comando
    symfony console marcusvy:livereload:watch
    

Symfony CLI

For those using symfony-cli, you can create a .symfony.local.yaml file in the project root and work with workers. When you run the command symfony server:start, the service will run easily.

# .symfony.local.yaml

workers:
    livereload:
        cmd: ["symfony", "console", "marcusvy:livereload:watch"]
        watch: ["config","src","templates","vendor"]
daemon: true

After creating the file, start the server embedded in symfony-cli

symfony server:start

Bundle Highlights

  • Zero Node.js: Works in purely PHP environments.
  • Turbo-Ready: Comes with Turbo Drive support (common in modern Symfony apps), performing a smooth reload instead of a hard refresh.
  • Native AssetMapper: Uses the modern asset engine of Symfony 8, without needing npm install or build steps.
  • Performance: Separates the scan process (Command) from the notification process (Controller), keeping the application fast.
  • Free as Beer.
  • Open Source: GPLv3

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2026-01-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固