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

Toggle Laravel Package

naif/toggle

Naif/Toggle is a lightweight feature flag package for Laravel that lets you define toggles and enable or disable features without redeploying. Use it to roll out changes gradually, gate functionality by user or environment, and keep releases safer and easier to manage.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Admin UX micro-decision: toggle vs. checkbox. For boolean attributes in a Laravel Nova 3 back-office (active, published, featured, enabled, visible), this package decides whether operators get an at-a-glance switch instead of a dropdown or checkbox. It is a polish decision, not a roadmap one.
  • Build vs. buy (really "adopt vs. inline"). The package is MIT and tiny, so the real choice is whether to take a micro-dependency versus writing a ~tens-of-lines custom Nova field. That is a maintenance-ownership decision more than a product one.
  • Internal tooling velocity. It shortens the loop on internal CRUD/admin screens used by ops, support, and content teams — relevant to back-office delivery timelines, not customer-facing releases.
  • Dependency-risk posture. Last release 2021, Nova 3 only, zero dependents. Adopting it is a deliberate acceptance of a stale, narrowly-scoped dependency for a low-blast-radius surface.
  • Use cases: content moderation queues, feature-flag management screens, user/account enable-disable controls, catalog visibility toggles — all internal, all boolean.
  • What it does not inform: pricing, retention, activation, customer-facing roadmap, or any monetization decision. Keep it out of product strategy discussions and inside the internal-tooling backlog.

When to Consider This Package

Consider it when:

  • You are on Laravel Nova 3 specifically and staying there for the foreseeable planning horizon.
  • The field is for an internal admin panel, where a stale dependency carries limited customer or compliance exposure.
  • You want a drop-in boolean toggle and the native Boolean field's UX is inadequate for your operators.
  • Your team can pin the version and fork or inline it if needed — the surface area is small enough that this is cheap.
  • You are optimizing for back-office delivery speed over long-term dependency hygiene on a non-critical screen.

Look elsewhere when:

  • You are on Nova 4/5 — this package targets Nova 3 and is effectively incompatible; use native fields or a maintained alternative.
  • The surface is customer-facing or security-sensitive, where an unmaintained 2021 dependency fails review.
  • You need tri-state/nullable booleans, inline list editing, bulk toggling, or conditional visibility — scope mismatch.
  • You have a zero-micro-dependency policy — inline the Blade component; it is not worth the supply-chain entry.
  • You are greenfield — starting a new admin on a package that has not shipped since 2021 is a poor default; build the field once and own it.

How to Pitch It (Stakeholders)

For executives: This is a small, free (MIT-licensed) UI enhancement for internal admin tooling only. It has no customer-facing impact and no revenue, retention, or compliance implications. The only real decision is whether to accept a minor maintenance risk: the package has not been updated since 2021 and only supports Nova 3. Recommendation: use it, if at all, narrowly within a Nova 3 back-office, and treat it as disposable rather than strategic.

For engineering: A tiny Nova 3 field that renders booleans as a toggle switch. Low risk, low reward. Pin the version, isolate it to admin resources, and plan to replace it with a native Nova field or an inline Blade component on the next Nova upgrade. Do not let it become load-bearing, and do not adopt it for greenfield work — vendoring the component is cheaper than carrying the dependency.

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.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core