Use the 'afterMaking' or 'afterCreating' hooks in factories to execute additional logic
- ·
- Telegram
- ·
- Newsletter

💡#Laravel Tip: Database model factories have handy 'afterMaking' and 'afterCreating' callback methods that you can use to perform additional tasks on newly-created objects.