PHP Attributes – Simple Router With Attributes – Full PHP 8 Tutorial
34.5K views on YouTube
Attributes feature that was introduced in PHP 8.0 may sound complicated but it’s pretty simple when you put it into practice. In this video, we explore the attributes feature & refactor our simple router to use attributes.
SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
⭐ Become a Patreon: https://www.patreon.com/programwithgio
THANK YOU!
🛠️ TOOLS & SERVICES I USE
Digital Ocean Hosting – Get 100$ credit – https://m.do.co/c/38b935ad74e5
Domains on Namecheap – https://namecheap.pxf.io/rnRjdQ
Envato Elements – https://1.envato.market/c/2937311/298927/4662
Adobe Photoshop & Premiere – https://clk.tradedoubler.com/click?p=264355&a=3250276
COURSE PLAYLIST
RESOURCES
Source repo – https://github.com/ggelashvili/learnphptherightway-project/tree/3.10
Docs – https://www.php.net/manual/en/language.attributes.overview.php
RFC that added attributes support – https://wiki.php.net/rfc/attributes_v2
Bitwise operators lesson – https://youtu.be/gCVlQdbddXY
Reflection API – https://youtu.be/78Vpg97rQwE
** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.