nawasara / developer-tools
Developer utilities for Nawasara Laravel projects: in-browser Tinker REPL, query inspector, and a quick-action launcher.
Package info
github.com/nawasara/developer-tools
Language:Blade
pkg:composer/nawasara/developer-tools
v0.1.0
2026-05-06 22:45 UTC
Requires
- php: ^8.1
- illuminate/support: ^10.0|^12.0
- livewire/livewire: ^3.0
- spatie/laravel-web-tinker: ^1.0
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