定制 devrabiul/livewire-doctor 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

devrabiul/livewire-doctor

最新稳定版本:v1.0.0

Composer 安装命令:

composer require devrabiul/livewire-doctor

包简介

Automatically detect and fix common Livewire issues, with helpful commands and developer tools to streamline your Laravel development.

README 文档

README

A powerful Laravel package that automatically diagnoses, fixes, and improves your Livewire development experience. Save time, eliminate headaches, and keep your components healthy — all with a single command.

Latest Stable Version Total Downloads Monthly Downloads GitHub license Buy us a tree GitHub Repo stars

🚀 Live Demo

👉 Try the Live Demo

Live Demo Thumbnail

💡 Overview

LivewireDoctor is your personal development assistant for Laravel Livewire apps. It scans your project, detects common issues like missing assets, misconfigured directives, outdated components — and fixes them automatically.

Whether you're debugging, onboarding a team, or simply maintaining Livewire-based applications — this package keeps your workflow smooth and efficient.

✨ Features at a Glance

  • ✅ Instantly diagnose common Livewire issues
  • 🛠️ Auto-fix configuration and structural problems
  • ⚙️ Artisan commands for one-click health checks
  • 🔍 Scans for performance tips and improvements
  • 🧰 Developer helpers for conditional debugging
  • ⚡ Optimized for Livewire v3
  • 🎯 Compatible with Laravel 10 & 11

📦 Installation

Install via Composer:

composer require devrabiul/livewire-doctor

Optionally publish the config (if required later):

php artisan vendor:publish --provider="Devrabiul\LivewireDoctor\LivewireDoctorServiceProvider"

⚙️ Initialize Custom Assets in AppServiceProvider

You need to initialize custom Livewire assets initCustomAsset() method in your AppServiceProvider.

✅ Example:

<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;
use Devrabiul\LivewireDoctor\LivewireDoctor;

class AppServiceProvider extends ServiceProvider
{
    public function boot(): void
    {
        // Initializes LivewireDoctor custom asset setup
        LivewireDoctor::initCustomAsset();
    }
}

🚀 Usage

🔎 Run Health Checks

Scan your entire Livewire setup with a single command:

php artisan livewire:doctor

What it checks:

  • Livewire installation and version
  • Missing assets or directives
  • Component structure, naming, and syntax validation

🛠 Artisan Commands

Command Description
php artisan livewire:doctor Run a full health check on your Livewire setup

✨ Why Developers Love LivewireDoctor

✅ “It just works! Saved me hours of debugging Livewire component issues.” ✅ “Every Livewire project should start with livewire:doctor.” ✅ “Incredible time-saver. One command, and my app is healthy again!”

🌍 Useful Links

🤝 Contributing

We welcome contributions to LivewireDoctor! If you would like to contribute, please fork the repository and submit a pull request. For any issues or feature requests, please open an issue on GitHub.

📄 License

Licensed under the MIT License.

📬 Contact

For support, bugs, or feature suggestions:

LivewireDoctor is the smart way to keep your Laravel Livewire apps running at their best. Install it now — and let your code breathe easy!

统计信息

  • 总下载量: 3.2k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 57
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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