Events
SaaSykit emits events that you can listen for and respond to. This is useful for things like doing certain things when a user subscribes, cancels subscription, etc like sending notifications, logging, and more.
As of Laravel 11, event listeners are automatically triggered when an event is fired. You don't need to manually register the event listeners.
Available Eventsโ
Registered
โ
This event is fired when a user registers.
Subscribed
โ
This event is fired when a user subscribes to a plan.
SubscriptionCancelled
โ
This event is fired when a user cancels their subscription.
SubscriptionRenewed
โ
This event is fired when a user's subscription is renewed (you might use this to provision resources for the user if the nature of your application requires it).
InvoicePaymentFailed
โ
This event is fired when a user's invoice payment fails.
Ordered
โ
This event is fired when a user orders a one-time purchase product.