About This Episode

Laravel, for a while now, has included functionality for broadcasting server-side events over a WebSocket connection to the client-side. Often, as part of this process, it will prove necessary to authorize the current user. "Do they have permission to access this private channel or not?" Authorizations such as these are registered within your routes/channels.php file.

If this file eventually becomes unwieldy, due to the number of authorizations, you may optionally extract the relevant logic to dedicated channel classes, using php artisan make:channel.

Published on Mar 29th, 2018.

Episodes

    1. Broadcast Channel Classes

      EPISODE 2 4:34 Free
    2. Collision Reporting

      EPISODE 3 1:55 Free
    3. Eloquent Date Casting

      EPISODE 4 2:55 Free
    4. Dynamic Rate Limiting

      EPISODE 6 3:13 Free
    5. Logout Other Devices

      EPISODE 7 5:00 Free
    6. API Controller Generator

      EPISODE 8 1:42 Free
Back to Series Button