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.3
2026-09-14 02:17 UTC
Requires
- php: ^8.1
- illuminate/support: ^10.0|^12.0
- livewire/livewire: ^3.0
- spatie/laravel-web-tinker: ^1.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Developer utilities for Nawasara Laravel projects. It ships a floating Livewire panel that exposes common Artisan commands and an embedded Tinker REPL.
Features
- Floating launcher: a small button in the corner of every page that 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: an embedded in-browser Tinker REPL via
spatie/laravel-web-tinkerfor quick model inspection without leaving the browser - Dev-only by convention: render the launcher Livewire component 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