Talk in English - US at Longhorn PHP 2025
                                                    
                            Track Name:
                                                            Main Ballroom
                                                                                    
                                                    
                                                        View Slides: https://presentations.garfieldtech.com/slides-attributes/longhornphp2025/ 
                                                                                                                                                                    
                        
                        Short URL: https://joind.in/talk/b4a76
                        (QR-Code (opens in new window))
                    
One of the unsung heroes of PHP 8 is PHP attributes. Attributes are a language-native way to provide accessible metadata on almost any language construct. Huzzah! Joy! New toys!
So what? What can we actually do with attributes, and how can we make them even more powerful? In particular, what can they replace in our older code?
This session will cover PHP attributes, what they are and how they work, as well as how to make them even more powerful with AttributeUtils, a robust user-space library for working with attributes.
Comments
Please login to leave a comment
Great talk from someone *very* plugged into PHP attributes. Deeply technical (rough at the end of a long day of sessions), and the talk does a great job of outlining how attributes can be used (or abused) and their limitations.
Awesome presentation, thanks! I learned a lot that I want to dig deeper into.