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

Credit Bundle Laravel Package

tourze/credit-bundle

tourze/credit-bundle provides a reusable credit and points ledger for PHP applications, with account balances, transaction records, and service APIs for awarding, deducting, and querying credits. Integrate it to add auditable credit management.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for a credit/balance ledger. A dedicated credit bundle addresses the recurring "users earn and spend units" problem — referral credits, promotional balance, loyalty points, in-app currency, refund/store-credit — that otherwise gets hand-rolled into a users.balance column and a prayer. If the package covers transaction recording, balance mutation, and audit history, it converts a multi-sprint build into an integration task.
  • Roadmap de-risking for monetization features. Anything on the roadmap that touches prepaid wallets, top-ups, promo grants, or consumption metering can be sequenced earlier if the ledger primitives are commodity rather than bespoke.
  • Scope discipline on the "money-adjacent" surface. Credits are not money but users treat them as money. Adopting a package forces the team to answer product questions early: expiry policy, refunds of spent credits, negative-balance handling, rounding, and who can adjust a balance manually. This is genuinely useful pressure.
  • Feature-flag and experimentation support. Granular credit grants are a cheap lever for pricing and promo experiments without touching billing infrastructure.
  • Not a decision this supports: anything about payments, invoicing, tax, or regulatory treatment. This is an internal accounting primitive, not a payment rail. Keep it out of that conversation.

Caveat on evidence: release 1.0.1 ships with no changelog beyond a diff link (1.0.0 → 1.0.1) — a bare patch bump with no described changes, fixes, or deprecations. That is the entire signal available. The assessment below is therefore derived from the package's stated domain (credit/points accounting) and its 1.0.x maturity marker, not from documented capabilities. Treat every claim about feature completeness as unverified until someone reads the source.

When to Consider This Package

Consider it when:

  • You need an internal unit-of-account ledger — grants, spends, adjustments, expiry — with an auditable trail, and you do not want to design double-entry semantics from scratch.
  • Your framework stack already matches the package's target (this is published as a bundle; confirm it actually wires into your Laravel service container before promising anything to stakeholders — the "bundle" naming and vendor lineage suggest a Symfony-first origin, and Laravel compatibility is an assumption, not a fact).
  • You want a small, single-purpose dependency rather than adopting a full wallet/billing platform.
  • Your volume is moderate and you can tolerate the package's own persistence and concurrency model.

Look elsewhere when:

  • You need money movement, settlement, payouts, or reconciliation against a payment processor. Use a payments provider and keep credits out of it.
  • You need strong ACID guarantees under high write contention across services. A 1.0.x PHP bundle is unlikely to offer the locking story you need; plan for your own transaction boundaries.
  • You require an actively documented, well-supported dependency. A patch release with no release notes is a governance signal — check commit cadence, issue responsiveness, and test coverage before committing.
  • Your domain requires multi-currency, tax treatment, or regulatory reporting on stored value. Stored-value products have compliance obligations that a generic credit bundle will not model.
  • You only need a simple counter with no audit history. A column and a migration is cheaper than a dependency.

Mandatory diligence before adoption: verify Laravel compatibility and service-provider registration, read the balance-mutation code path for race conditions, confirm whether historical transactions are immutable, and check that the license permits your distribution model.

How to Pitch It (Stakeholders)

To executives: We have a recurring need for an internal credits/points ledger — referral bonuses, promos, loyalty balance — that we keep rebuilding per feature. This package is a candidate to standardize that on one audited primitive. The upside is schedule: monetization-adjacent features land faster and with a consistent audit trail instead of three different bespoke balance columns. The risk is maturity: the current release is a patch with no published changelog, so I am not asking for a commitment today — I am asking for a short spike to confirm it does what the name implies before it enters a roadmap commitment.

To engineering: Proposed evaluation, not an adoption decision. The 1.0.1 release is a no-information patch bump — no changelog, no stated fixes or breaking changes — so nothing in our prior assumptions is confirmed or contradicted by it. What I need from a time-boxed spike: (1) does it install and register cleanly in our Laravel app, (2) how does it mutate balances and is that safe under concurrent spends, (3) is the transaction log append-only, (4) what is the test coverage and maintenance cadence. If the answers are good, we get a commodity ledger and stop writing this ourselves. If not, we build the narrow version and I will have spent a day to find out.

Bottom line on this release: 1.0.1 carries no documented change. It neither raises nor lowers confidence; the open questions all still need source-level answers.

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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console