Slim 4 Authentication

40 episodes4 hrs 19 mins

Course overview

Everything you'd need from an authentication system, built completely from scratch with Slim 4. Covers templating, signing up, signing in (with remember me functionality), seamless validation, custom validation rules, beautiful CSRF protection, and more.

Alex Garrett-Smith
Alex Garrett-Smith
Hey, I'm the founder of Codecourse!

Episodes

0%
Your progress
  • Total: 4h 19m
  • Played: 0m
  • Remaining: 4h 19m
01. Introduction and demo
2m 41s
0%
02. Setting up Slim
6m 47s
0%
03. Adding a container
4m 9s
0%
04. Rendering views
15m 3s
0%
05. Twig extension
3m 37s
0%
06. Base template
6m 57s
0%
07. Setting up authentication
11m 31s
0%
08. Rethinking routes with controllers
9m 18s
0%
09. Signing in
6m 52s
0%
10. Showing authenticated state
5m 11s
0%
11. Extending the user model
2m 34s
0%
12. Signing out
4m 43s
0%
13. Flashing messages
8m 8s
0%
14. Catching authentication errors
2m 41s
0%
15. Kicking off validation
8m 18s
0%
16. Handling validation exceptions
11m 53s
0%
17. Showing errors on our forms
2m 29s
0%
18. Auth middleware
13m 17s
0%
19. Guest middleware
2m 45s
0%
20. Tidying up routes
2m 46s
0%
21. Intended redirect
6m 13s
0%
22. Persistent authentication
2m 38s
0%
23. Quick redirect tidy
1m 26s
0%
24. Adding CSRF (Cross-Site Request Forgery) Protection
8m 45s
0%
25. CSRF form helper with a Twig extension
6m 56s
0%
26. Updating sign out implementation
3m 42s
0%
27. Creating an account
14m 18s
0%
28. Tidying up with an array_only helper
6m 8s
0%
29. Unique email validation rule
4m 53s
0%
30. Persisting old form data
4m 50s
0%
31. Updating user settings
12m 9s
0%
32. Updating passwords
7m 7s
0%
33. Current password validation rule
2m 46s
0%
34. Building the password recovery pages
6m 55s
0%
35. Recovery database schema
2m 4s
0%
36. Creating a password reminder
6m 22s
0%
37. Resetting the password
13m 17s
0%
38. Setting up basic email functionality
6m 29s
0%
39. Sending the password recovery email
7m 11s
0%
40. Validation fix on password reset page
3m 26s
0%