tenancy / laravel-websockets-bridge
Package to bridge beyondcode/laravel-websockets to hyn/multi-tenant.
                                    Fund package maintenance!
                                                                            
                                                                                                                                        tenancy
                                                                                    
                                                                            
                                                                                                                                        Open Collective
                                                                                    
                                                                
Installs: 41
Dependents: 0
Suggesters: 0
Security: 0
Stars: 13
Watchers: 4
Forks: 1
Open Issues: 2
pkg:composer/tenancy/laravel-websockets-bridge
Requires
- php: >=7.3
- beyondcode/laravel-websockets: ^1.0
- hyn/multi-tenant: ^5.3
- illuminate/encryption: ^5.7
This package is auto-updated.
Last update: 2025-10-29 02:56:13 UTC
README
This was created in 2 hours and has not been tested.  I can't even guarantee there's a need beyond what beyondcode/laravel-websockets provides natively.  It goes without saying that this exists without warranty of success.
How to install:
- Run composer require tenancy/laravel-websockets-bridge- You should already have hyn/multi-tenantandbeyondcode/laravel-websocketsinstalled following each package's documented install process.
 
- You should already have 
- In the config/websockets.phpfile, update thestatistics->modelkey to have a value of\Tenancy\LaravelWebsockets\Models\WebsocketsStatisticsEntry::class- This ensures the model uses the systemdatabase connection, even if you havetenantas default.
 
- This ensures the model uses the