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

Grant Laravel Package

shipfastlabs/grant

Grant is a lightweight Laravel package from ShipFastLabs for adding credits to your app. It provides a simple, expressive API to grant, spend, and track user credits, with seamless Eloquent integration and minimal setup.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for authorization. This is an OSS grants/permissions layer for Laravel, so the real decision is "adopt OSS" vs. "write bespoke Gate/Policy + role tables ourselves." The v0.0.1 notes describe model-backed writes, a publishable config, and config validation — i.e., it's opinionated about persisting grants via Eloquent rather than being a thin helper. That means adopting it is a schema and data-model commitment, not just a dependency.
  • Queue/worker architecture decisions. The headline fix — stale Gate memoization in long-running workers — is exactly the bug class that bites teams running Horizon/queue workers with cached permissions. If we're queue-heavy, this is a differentiator worth noting: the maintainers fixed it before the first tagged release, which suggests they run it in realistic deployments.
  • Feature scoping for admin/roles UI. The package's surface area determines how much custom work a permissions screen, per-plan feature gating, or multi-tenant role management requires. Not enough information in these notes to size that — needs a spike.
  • Roadmap confidence. v0.0.1 with a single contributor and audit-driven changelog means we can plan a pilot, not a platform bet. Any roadmap item depending on this package's API stability for more than one quarter is currently unplannable.
  • Use cases to evaluate against: back-office permission management, per-plan/seat feature gating in SaaS billing, multi-tenant role assignment. All plausible fits; none validated by the release notes.

When to Consider This Package

Consider adopting when:

  • Greenfield or lightly-coupled Laravel app where a permissions layer is a small-to-medium slice of the work, and a free, purpose-built package beats a few weeks of in-house Gate/Policy plumbing.
  • The team can read the source and pin an exact version, with an accepted budget for 0.x upgrade churn (minor bumps may break).
  • Worker-safe permission propagation matters to you — that's the most concrete signal in this release.
  • You can isolate usage behind your own contract/interface so a later swap to Spatie's laravel-permission or native Gates is a contained change.

Look elsewhere when:

  • You need an SLA, vendor support, a security disclosure policy, or a documented backwards-compatibility promise. None are evidenced here.
  • Compliance or audit-trail requirements are in scope — nothing in the notes indicates authorization event logging, and "fix code audit findings" refers to a code review, not an audit-log feature.
  • Laravel's native Gate/Policy plus a simple role column already covers your model. The cheapest permissions layer is the one you don't install.
  • A large team needs maturity signals — docs depth, visible test coverage, release cadence, multiple maintainers — before standardizing. One tagged release by one contributor doesn't clear that bar.
  • You're mid-flight on a permissions implementation. Migration cost now exceeds the savings.

Adoption gate (all should be true before rollout): pinned version + upgrade budget agreed, a thin internal abstraction over the API, an explicit fallback plan, and a written answer from the maintainer on BC policy and 1.0 intent.

How to Pitch It (Stakeholders)

For executives: A free, open-source Laravel package that gives us roles/permissions storage instead of building it. It saves meaningful engineering time on a solved problem, and we can contain the downside by wrapping it behind our own interface so replacing it later is cheap. The honest risk: it's v0.0.1, pre-1.0, one maintainer, no support contract. Recommendation is a scoped pilot on one low-risk surface — not a platform-wide standard — with a decision point after we've seen upgrade churn firsthand.

For engineering: First tagged release; the entire changelog is hardening rather than features — a stale Gate memo in long-running workers, model-backed writes, config validation, plus CI isolation for parallel test runs. That's a healthy signal (they fixed real production failure modes early) but also confirms the API is still settling. If we adopt: pin the exact version, treat 0.x minors as potentially breaking, add a regression test that a permission change reaches an already-running worker, review the published config and migration footprint before merging, and keep all call sites behind our own contract.

What we still don't know (flag before committing): no benchmarks, no upgrade guide, no stated BC policy, no documented test coverage, no security disclosure process, and no evidence of a second maintainer. Worth a direct question to the maintainer before we widen usage.

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.
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
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