You can set model attributes on factories using the set() method
- ·
- Telegram
- ·
- Newsletter
#Laravel 9.8.0 adds a set() model factory method that allows you to set a single model attribute.