nawasara/developer-tools
最新稳定版本:v0.1.0
Composer 安装命令:
composer require nawasara/developer-tools
包简介
Developer utilities for Nawasara Laravel projects: in-browser Tinker REPL, query inspector, and a quick-action launcher.
README 文档
README
Developer utilities for Nawasara Laravel projects. Ships a floating Livewire panel that exposes common Artisan commands and an embedded Tinker REPL.
Features
- Floating launcher — small button in the corner of every page; opens a panel with the actions below
- One-click Artisan commands — clear cache, clear route, clear view, clear config, optimize, run migrate / migrate:fresh / db:seed
- Refresh warning — actions that bust caches surface a non-blocking hint to refresh the page so the new state takes effect
- Web Tinker — embedded in-browser Tinker REPL via
spatie/laravel-web-tinkerfor quick model inspection without leaving the browser - Dev-only by convention — the launcher Livewire component should be rendered only when
app()->environment('local')(or behind a permission of your choice)
Installation
composer require nawasara/developer-tools --dev
Auto-discovered. To render the launcher, add the Livewire component to your application layout:
@if (app()->environment('local')) <livewire:nawasara-developer-tools.components.developer-tools /> @endif
Customization
Publish the views to override styling or layout:
php artisan vendor:publish --provider="Nawasara\DeveloperTools\DeveloperToolsServiceProvider"
Author
Pringgo J. Saputro <odyinggo@gmail.com>
License
MIT
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-09