Laravel automatically detects the factory based on naming convention but you can also define factory manually via newFactory method if conversation is not matching. 🙌
But now we also have option to define factory via PHP Attribute. 💪
As Laravel is adopting attributes, do you wanna see usage of attributes at more places or not? And where? 🤔
Back