1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 13:24:03 +00:00
laravel-tips/content/tips/use-the-quietly-methods-to-create-models-without-firing-events-using-your-factories.md
2021-11-19 16:10:01 +01:00

17 lines
No EOL
774 B
Markdown

---
title: 'Use the *quietly() methods to create models without firing events using your factories'
tweet_id: '1461703827355168772'
thread_slug: weekly-thread-2021-46
author_username: pascalbaljet
images:
- 'https://pbs.twimg.com/media/FEEXi0zXoAAtd7b.jpg'
created_at: 2021-11-19T14:32:04+00:00
slug: use-the-quietly-methods-to-create-models-without-firing-events-using-your-factories
---
📝 Here's part 2 of the new Database and Eloquent ORM features in @laravelphp 8.x since the release in September 2020.
One of my favorites is the ability in Model Factories to create models without dispatching any events 🔥
Blog post: https://protone.media/en/blog/database-and-eloquent-orm-new-features-and-improvements-since-the-original-laravel-8-release-22
#Laravel #PHP