Laravel 13 will go attribute-first 💪
Native PHP attributes across Models, Jobs, Requests, Commands & Resources. 👌
And yes, the man himself @taylorotwell is adding these directly to Laravel ❤️
What other attributes do you want to see in Laravel 13? 🤔
Finally back to work after almost 10 days' break 🤞 #LaraconIndia
Felice di annunciare il lancio di TuttoCalcolato.it!
Che tu debba calcolare lo scorporo IVA, la rata del mutuo o convertire unità di misura, trovi tutto in un unico posto.
Fammi sapere cosa ne pensi! 🚀
Home Inspection Services in VA:- Home inspection services in Virginia offer thorough evaluations of residential properties to ensure safety and reliability. Licensed inspectors examine structural components, roofing, electrical systems, plumbing, HVAC, and more. These inspections help buyers and sellers make informed decisions, uncover potential issues early, and protect long-term property value with confidence. www.twalkerinspections.com/services
Ever wonder why that trait seemed like a good idea until you needed to test it?
Traits in PHP look convenient at first, but they hide dependencies, break encapsulation, and make your code harder to understand.
I wrote about why I avoid traits and what works better: dependency injection, composition, and simple classes.
Real dependencies should be visible in the constructor, not burried in protected methods.
The rule is simple: if behavior can be extracted into a seperate object, it should be.
dev.to/tegos/why-i-avoid-php-traits-and-what-i-use-instead-1288