Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Hookable Laravel Package

sofa-support/hookable

Hookable adds a lightweight hook system to Laravel Eloquent models, letting you register callbacks that run before or after events like create, update, and delete without scattering logic across observers. It keeps model behavior tidy, composable, and easy to test.

View on GitHub
Deep Wiki
Context7

Sofa Support Hookable adds a lightweight hook system to Laravel Eloquent models. Register callbacks for named hooks and fire them at defined lifecycle points, keeping cross-cutting logic out of your models and controllers.

  • Register and dispatch custom hooks on Eloquent models.
  • Run callbacks around model lifecycle events.
  • Keep business logic decoupled, reusable, and testable.
  • Integrate with a simple Hookable trait.
  • Lightweight, Laravel-friendly, and easy to extend.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route