This is the second live coding session to accompany the PHP API Pro course. In this session I'll create PSR15 middleware which leans on enums to handle content negotiation by checking the request accept header in order to serve content in the requested format. I'll also show you a really cool refactoring hack 😉
You can check out the full course (and grab a BIG DISCOUNT on release) here:
https://www.garyclarke.tech/p/php-api...
Here is the repo for the API:
https://github.com/GaryClarke/php-api...
🆓 Join garyclarke.tech for course DISCOUNTS and a FREE Docker + PHP course (worth $49)
https://www.garyclarke.tech
👇 Follow me on Social Media:
Twitter: / garyclarketech
Linkedin: / garyclarketech
📝 Check out this PHP blog by Timothy Iloba
/ timothyiloba
💕Show support:
https://www.paypal.com/donate/?hosted...
Watch video PHP API Pro: Content Negotiation using Middleware and Enums online without registration, duration hours minute second in high quality. This video was added by user Gary Clarke 01 January 1970, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,18 once and liked it 8 people.