Source code to accompany this video: https://youtu.be/v5tAdjf0o3E
This is a follow-up to this repository: https://github.com/daveh/slim-rest-api-example
- How to pass API keys to the API: query string and X-API-Key header
- Using middleware to require an API key
- PHP templates
- Signup and login
- Hashing
- Encrypting
- Custom validation with Valitron
- Session middleware
Complete API course, including authentication: https://davehollingworth.net/phpapisy