F
Filament3mo ago
blink

how to check what (if) attributes were updated in afterSave() method.

I need to fire an API call to let some endpoint know if model were updated.
1 Reply
gemini.dev
gemini.dev3mo ago
Is this what youre looking for? https://laravel.com/docs/5.7/eloquent#observers
Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
Want results from more Discord servers?
Add your server