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

Laravel Active Laravel Package

ibrand/laravel-active

Laravel package for managing active/inactive status on Eloquent models. Adds an activation flag with query scopes, toggle helpers, and filters so you can quickly enable, disable, or query only active records for products, users, categories, and similar entities.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature-level: Models needing an "active/inactive" lifecycle — enabling/disabling user accounts, publishing/unpublishing CMS content, toggling product availability, or flipping a tenant between live and suspended — without hard-deleting rows. The package's core value is the query surface (active() / inactive() scopes) rather than novel business logic.
  • Build vs. buy: This is a strong signal to build or adopt a maintained alternative, not to vendor this specific package. At 3 stars and 0 dependents, the pattern (a boolean/timestamp column plus an Eloquent scope) is ~30 lines of in-house code; the dependency cost outweighs the reuse benefit.
  • Roadmap: Relevant to admin/moderation tooling, lifecycle state machines, and any "soft-disable" capability on the backlog. It clarifies a recurring primitive: state flags with queryable scopes — which should likely be a shared internal trait rather than a third-party dependency.
  • Use cases to evaluate the pattern against: draft→published content, trial→active→suspended subscriptions, feature enablement per record, and archival-by-flag workflows where SoftDeletes is too destructive or semantically wrong.

When to Consider This Package

  • Consider it only if: you need active-state scopes immediately, you're prototyping (not shipping to production), or you plan to fork and own the code. Treat it as a reference implementation of an Eloquent scope pattern.
  • Look elsewhere — or build in-house — when any of the following hold: production use, a codebase with security/compliance requirements, or a team that expects ongoing maintenance. A 3-star, zero-dependent package carries unmaintained-dependency risk that dwarfs its benefit.
  • Preferred alternatives: a maintained status package (e.g., spatie/laravel-model-status or spatie/laravel-model-flags), Laravel's built-in SoftDeletes when the semantic fits, or a two-line local scope (scopeActive, scopeInactive) on a boolean column you already control.
  • Red flags to weigh: unknown maintainer activity, no dependents meaning no field-tested edge cases, and no visible community to catch regressions. Adopt only with a plan to own the code.

How to Pitch It (Stakeholders)

To executives: This package exposes a common "toggle a record on/off without deleting it" capability. The concept is worth having on the roadmap; the package is not worth adopting — it's a tiny, low-adoption library (3 stars, no downstream users) that would add maintenance and supply-chain risk for functionality we can build in-house in under a day.

To engineering: Treat this as a design reference, not a dependency. We should implement a small, tested ActiveScope trait (or adopt a maintained status package) and standardize how we model lifecycle flags. Recommendation: no-go on the dependency; yes on the pattern. If a team still wants it, require a fork-and-own decision with tests before it touches production.

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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager