components-web-app/api-components-bundle
ComponentRepository, StructureService).WIP label suggests this is an active consideration.ComponentResource), it can replace or extend Laravel’s built-in APIResource or Transformers (Fractal).Sanctum, Passport, or Nova for auth. May need custom middleware or policy bindings.symfony/process if not needed).Nova, Vite, Horizon)?migrate system?Model events (e.g., created, updated) or require custom listeners?Cache::remember)?composer.json require constraints. If it targets Symfony 6.x, it should work with Laravel’s Symfony 6+ foundation.illuminate/support and illuminate/http provide compatibility layers for Symfony components. Test critical paths (e.g., request handling, responses).composer require components-web-app/api-components-bundle)./api/components/{id}) with the bundle’s endpoints./api/components/* to the bundle, but keep /api/v1/products in native Laravel.Routing component. Ensure it doesn’t conflict with Laravel’s router (e.g., no duplicate route namespaces)./api/components/{id}/versions).Validator, it may require Laravel’s Validator facade or custom constraints. Test with Laravel’s validation rules (e.g., Rule objects).auth:sanctum or auth:api middleware.HttpTests with the bundle’s test utilities (if provided). Ensure compatibility with PestPHP or PHPUnit.abort() or API versioning.composer.json to avoid version conflicts.symfony/http-kernel to match Laravel’s version.ComponentSerializer in AppServiceProvider.Monolog or Prometheus to capture:
HttpException vs. Laravel’s HttpResponse.telescope or laravel-debugbar to inspect bundle internals.siege or k6) for component-heavy endpoints.with() or load().Cache::tags('components')).// AppServiceProvider
$this->app->bind(\Symfony\Component\Messenger
How can I help you explore Laravel packages today?