make-dev/orca
Orca injects a dev widget into every Laravel page to run Claude Code in-browser with full page context (URL/route/component/user), streaming output, plan-then-execute safety, screenshots on demand, permissions, and optional macOS Terminal pop-out. Local-only.
Route::get(), Livewire::component()). This could replace manual php artisan tinker or dd() debugging.Illuminate\Foundation\Bootstrap\LoadConfiguration) to inject Orca dynamically.laravel-debugbar).Laravel\SerializableClosure) for structured task execution.| Risk Area | Mitigation Strategy |
|---|---|
| Claude Code Dependency | Fallback to local PHP CLI (e.g., exec('php artisan tinker')) if API fails. |
| Livewire Conflicts | Test with livewire:discover and wire:ignore to avoid event collisions. |
| Performance Overhead | Profile widget initialization (e.g., dd() in boot()) to measure latency. |
| Security | Validate Claude Code API keys (store in .env) and sanitize injected commands. |
| macOS Terminal Pop-out | Document alternative for non-macOS users (e.g., VS Code integration). |
auth() helper or require manual setup?schedule:run) for async operations?/admin/dashboard).config/app.php.OrcaMiddleware::class).// app/Providers/OrcaServiceProvider.php
public function boot()
{
if (app()->environment('local')) {
Orca::injectWidget(); // Hypothetical method
}
}
Auth::user()->id, request()->ip()).Orca::addContext('laravel', [
'route_name' => Route::currentRouteName(),
'livewire_component' => Livewire::getCurrentComponent()?->getName(),
]);
OrcaFallbackHandler to use php artisan commands if Claude Code fails.| Component | Compatibility Notes |
|---|---|
| Laravel 12 | ✅ Full support (PHP 8.4+). |
| Livewire 4 | ✅ Assumed (based on badges), but test event listeners. |
| Tailwind CSS | ✅ Likely compatible; may need utility class isolation. |
| Inertia.js | ⚠️ Untested; may conflict with Alpine.js. |
| Homestead/Valet | ✅ Works locally; document macOS Terminal pop-out as a bonus feature. |
| Docker | ✅ Should work, but test CLI command execution in containers. |
curl -sS https://... | bash).composer require lets-make-dev/orca.php artisan vendor:publish --provider="MakeDev\Orca\OrcaServiceProvider".Orca::capture()).app()->environment('local'))..gitignore if using local Claude Code keys.storage/logs/orca.log for troubleshooting.?route, ?user).PATH.local env).ORCA_ENABLED=false to .env).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Claude Code API Unavailable | Broken CLI sessions | Fallback to exec('php artisan ...') |
| Livewire JS Conflicts | Widget fails to render | Isolate with wire:ignore |
| PHP 8.4+ Incompatibility | Package fails to install | Upgrade or fork for |
How can I help you explore Laravel packages today?