Background work and state

Part 5 of the Laravel course. Events and listeners, queued jobs and their workers, mail, the cache, and the session: the work that happens around the request.

The cards below open the lessons of the part, and the tree lists them in the reading order of the whole course. The previous and the next page at the bottom move through that order.

5.1 Events and listeners How events announce actions, how listeners react, and how dispatch connects them. Open 5.2 Queues How jobs carry background work, how dispatch stores them, and how workers run them. Open 5.3 Mail Build a Mailable class and send it with the Mail facade. Open 5.4 Cache Store slow results in cache with remember and clear them when stale. Open 5.5 Sessions in Laravel Keep small user state in the session with put, flash, and forget. Open

Lessons