hashemi/fireworks
Fireworks is a lightweight Laravel package for adding customizable fireworks animations to your web apps. Easily trigger celebratory canvas effects on page loads, user actions, or special events with a simple API. Minimal setup and easy to drop into any Blade view.
status moves to published") are the primitive behind publishing workflows, approval chains, and lifecycle transitions. This package is a cheap way to prototype whether per-field hooks are worth productizing before committing to a workflow engine.wasChanged() checks inside an Observer replicates it with zero third-party surface area.updated event noise.plan_id changes, invalidate CDN caches when slug changes, push a webhook when price changes. Useful for prioritizing which integrations to build first.Adopt it (or copy it) when:
app/Support is a legitimate adoption path and eliminates the maintenance concern entirely.Look elsewhere (or build in-house) when:
wasChanged(), getOriginal(), getChanges(), and Observers handle the large majority of field-level hook cases without a dependency. If your requirement is "do X when status changes," the framework does this today.Recommended disposition: treat as a design reference. Read the trait, extract the dirty-attribute pattern, and implement it locally in ~50 lines with tests. This captures 100% of the value at 0% of the dependency risk.
To executives (one paragraph): We evaluated a small open-source Laravel add-on that lets us trigger business logic when a specific field on a record changes — for example, kicking off a publishing workflow the moment a status field flips to published, rather than reacting to every generic save. The capability matters for our workflow, audit, and notification roadmap. The package itself does not: it's a 16-star, single-maintainer project with no dependents and no release since April 2022. Recommendation is to not adopt it as a dependency; the same behavior is roughly 50 lines of code we own, test, and can change freely. Net result: we get the feature, we take on no maintenance or security exposure, and we spend hours rather than a sprint.
To engineering (short): hashemi/fireworks is a trait that fires attribute-scoped model events via Laravel's native event system. Functionally sound, but unmaintained since 2022 and untested against Laravel 10+. We're recommending we vendor the pattern rather than require the package — implement field-change hooks in an Observer using wasChanged() / getOriginal(), with explicit tests. Same ergonomics, no version-pinning risk, and it stays inside our existing model-event conventions. If someone wants to spike with the actual package first, that's fine — just don't let it reach composer.json for production.
How can I help you explore Laravel packages today?