Mary Perry - Auth factories in Laravel - Laracon AU 2025
Mary Perry explores how Socialite, the service container and Laravel’s session drivers all reveal real world factory and abstract factory patterns.
Through her story about implementing Slack OAuth, Mary shows how Laravel hides complexity behind clean interfaces and well structured design patterns.
📚 ## Chapters
00:39 Mary introduces herself
01:42 A Laravel powered jobs board for her local tech meetup
02:20 Explaining OAuth, access management and how Socialite wraps providers
02:45 Refusing to believe OAuth could be that easy in Laravel until it worked first try
03:05 Determination to understand what was happening beneath the surface
03:50 Decoupling is essential for factory patterns
04:10 Introducing the factory pattern
05:00 How the Socialite manager functions as a factory
05:40 HTTP statelessness and session storage
06:30 Socialite and session managers are factories created by the service container
07:10 Walkthrough of session manager construction
08:12 How Socialite and session products interact at runtime
09:03 Why concrete Laravel code provides more meaningful insight for self taught developers
09:40 Why Laravel source code is excellent for learning
10:03 Reviewing when to use abstract factories and how Laravel meets those conditions
11:05 Discussing configuration driven families of products
12:00 Tying together factory creation of Socialite manager and session manager
12:40 How Socialite provider drivers are resolved, callbacks are handled and customising behaviour
13:10 Walking through building a provider
13:45 Reading code is challenging at first but improves with practice
14:28 Final takeaway
https://x.com/sifrious
https://bsky.app/profile/mary.win
https://laracon.au
Схожі відео
Laracon India
27 травня 2026
Live Coding Music with PHP : Marcel Pociot | Laracon India 2026
Laracon India
27 травня 2026
Strict AI Engineering : Nuno Maduro | Laracon India 2026
Laracon India
27 травня 2026
Inside Nightwatch: Real-Time Analytics at Scale : Jess Archer | Laracon India 2026
Laracon India
08 квітня 2026
Building Native Components with PHP : Simon Hamp & Shane Rosenthal | Laracon India 2026
Laracon India
07 квітня 2026