Eloquent Macro: Fire Specific Events After saveQuietly
Originally published at recca0120.github.io
Sometimes we use saveQuietly() to persist data without triggering Eloquent events. But after saving, we may want to manually fire a specific event -- for example, only created without creating.
Laravel does...
recca0120.hashnode.dev2 min read