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

Money Laravel Package

gerardojbaez/money

A Laravel package for working with monetary values through an expressive API. It simplifies formatting, parsing, and converting currencies, making it easy to display prices and handle money safely in PHP code and Blade templates.

Deep Wiki
Context7

Product Decisions This Supports

  • Localized currency display for checkout, invoices, and pricing pages. The package provides drop-in formatting for 91 currencies, including INR, which supports market-expansion decisions (e.g., launching India pricing without building a custom formatter).
  • Build vs. buy vs. fork for a formatting utility. At MIT license and ~zero footprint, it reframes currency formatting as a commodity dependency rather than a bespoke engineering effort—freeing roadmap capacity for differentiating work.
  • Legacy PHP modernization sequencing. Because it explicitly replaces the deprecated/removed money_format(), it informs decisions about when to migrate off PHP 7.x-era formatting and what the interim shim looks like.
  • Cross-platform consistency requirements. For products shipping across OS/PHP builds where intl/NumberFormatter availability is inconsistent, it supports a decision to standardize on a pure-PHP formatter rather than assume extension availability.
  • Multi-currency UX scope. Determines whether currency symbols/codes and locale-appropriate separators can ship in the near term, or whether deeper i18n (pluralization, per-locale accounting conventions) must be scoped as a larger initiative.
  • Dependency governance decisions. As a PM input into the approved-dependency list: this package's archived status forces an explicit accept-risk / vendor / replace decision rather than silent adoption.

When to Consider This Package

Reasonable to consider when:

  • You maintain a legacy PHP 7.x codebase, still call money_format(), and need a low-risk shim before a full migration.
  • Requirements are display-only—no arithmetic, rounding policy, or ledger-grade precision.
  • You need broad currency coverage with INR and cannot guarantee the intl extension across environments.
  • You want a small, auditable, MIT-licensed dependency you can vendor and patch yourself if needed.
  • The work is a short-lived bridge with a scheduled replacement, not a long-term architectural commitment.

Look elsewhere when:

  • You are on PHP 8+ (where money_format() is removed and native/intl-based tooling is the norm) or on modern Laravel, where Illuminate\Support\Number/Number::currency() already covers this.
  • You need active maintenance, security patching, or vendor support—this repo is archived with its last release in February 2018.
  • You handle financial calculations, tax, FX conversion, or accounting-standard rounding; formatting libraries are the wrong layer for money math.
  • You require strict locale fidelity (CLDR-conformant symbols, pluralization, per-region formatting rules)—prefer intl's NumberFormatter.
  • Your compliance posture prohibits unmaintained transitive dependencies.

Net PM guidance: treat it as a stopgap or reference implementation, not a strategic dependency. If adopted, pair it with a dated exit plan.

How to Pitch It (Stakeholders)

For executives — one paragraph: We have a narrow, low-cost opportunity to unblock multi-currency price display—including INR for India—without new engineering scope. An MIT-licensed, dependency-free PHP formatter covers 91 currencies and removes our reliance on a PHP function that has since been removed from the language. The trade-off is maintenance: the project is archived and last released in 2018. Recommendation: use it as a time-boxed bridge only, vendor the code under our control, and fund a small follow-up to move to the platform-native formatter. Cost is near zero; the real risk is unowned code, which we mitigate by explicitly owning it.

For engineering — the ask:

  • Confirm current money_format() usage and whether PHP 8 / NumberFormatter / Laravel Number already satisfies the requirement.
  • If we proceed, vendor or fork the package, add a formatting regression test suite (currency set, locale edge cases, INR), and record it on the dependency register with an owner and a replacement date.
  • Do not use it for monetary arithmetic, rounding policy, or FX—formatting layer only.

Decision framing: Opportunity is small but real (fast unblock, INR coverage, zero license cost). Risk is lifecycle, not technology. Approve as a documented, time-boxed exception, not as a standing standard.

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.
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels
wazza/laravel-db-encryption
hokny/laravel-generator
vonsogt/backup
jengo/queues
jeremykenedy/laravel-observability
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums