Bourbakki
Bourbakki
FFilament
Created by Bourbakki on 11/26/2023 in #❓┊help
Whats the difference between using a classic Laravel Observer and an afterCreate method on Filament?
Title says it all. I want to make a feature where a user is notified when an entry is created on a specific model. Usually I would use an Observer (created) on classic Laravel. But I noticed that Filament has "afterCreate" method, which can be added in the CreateResource.php page. Whats the difference between using the two?
4 replies