I have a use case where I want to extend a certain package by using my own service provider as well as extending the provided command.
The package has a composer.json definition as follows:
"extra": {
"laravel": {
"providers": ["BeyondCode\LaravelWebSockets\WebSocketsServiceProvider"],
"aliases": {
"WebSocketRouter": "BeyondCode\LaravelWebSockets\Facades\WebSocketRouter"
}
}
}
I want laravel to ignore the providers definition without modifying the package.
Does anyone know if that is actually possible?