laravel-websockets/src/Contracts
Fabian @ Blax Software a46243a706 F IdentityFormatter contract — apps override how the User column renders
websockets:watch -v now delegates User-column rendering to a bound
IdentityFormatter. The package ships DefaultIdentityFormatter which
produces #<id> - <name> | <username> - <email> for typical Eloquent users
(any field absent = that segment dropped). Apps with non-User auth
subjects (Company, ApiClient, multi-tenant blobs) can implement the
contract and either bind it in their service provider or name it in
config/websockets.php as 'identity_formatter'. Resolution order is:
explicit container binding > config class > package default.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 13:50:22 +02:00
..
AppManager.php Renovation 2025-01-16 08:54:02 +01:00
ChannelManager.php BF nullable deprecations 2026-04-23 11:56:50 +02:00
IdentityFormatter.php F IdentityFormatter contract — apps override how the User column renders 2026-04-27 13:50:22 +02:00
PusherMessage.php Renovation 2025-01-16 08:54:02 +01:00