effiana/web-profiler-extra-bundle
barryvdh/laravel-debugbar) but targets Symfony’s ecosystem. For Laravel, this would require a custom adapter layer to bridge Symfony’s Profiler with Laravel’s service container and routing systems.HttpKernel components or Laravel’s Illuminate\Routing/Illuminate\Container).DebugBundle, WebProfilerBundle, and AsseticBundle are not natively available in Laravel. Replicating functionality would require:
Route::getRoutes() can provide route data, but formatting for a profiler UI would need custom development.Container can be introspected, but Symfony’s ContainerAware interfaces would need translation.Profiler, DataCollector) would need significant refactoring to work in Laravel. Key risks:
barryvdh/laravel-debugbar (for general debugging).spatie/laravel-debugbar-extensions (for route/service inspection).nunomaduro/collision (for route/model debugging).
Replicating this bundle may not provide unique value unless it offers Symfony-specific features (e.g., Assetic asset mapping).spatie/laravel-debugbar) for overlapping functionality?Kernel, HttpFoundation, and Debug components.RoutingCollector with a class using Route::getRoutes().ContainerCollector with app()->getBindings().DebugBundle. In Laravel, this would need to be mocked or replaced with Laravel’s Illuminate\Support\Facades\Debug.Route::getRoutes() → format as JSON/array.app()->getBindings() → filter services.barryvdh/laravel-debugbar to include new collectors.config/profiler.php) to toggle collectors.app('cache')).app()->environment() to auto-disable collectors in production.if (app()->environment('local', 'testing')) {
$this->registerCollectors();
}
Route::getRoutes()).Illuminate\Routing, Illuminate\Container).barryvdh/laravel-debugbar).How can I help you explore Laravel packages today?