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 Bundle Laravel Package

headsnet/money-bundle

A Symfony bundle that integrates the moneyphp/money library, adding Doctrine types, form types, validators, Twig extensions and serialization support so your app can handle monetary values safely and consistently.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Whether to standardize monetary handling on a maintained PHP library versus custom currency/rounding logic.
  • PHP version support roadmap: v0.2.0 sets a minimum of PHP 8.1 and adds PHP 8.4 compatibility, so adoption and upgrade planning must account for dropping PHP 7.4/8.0.
  • Build vs buy: use a proven money value-object library instead of bespoke arithmetic, formatting, and currency handling.
  • For Laravel teams: decide whether to integrate this Symfony-oriented bundle or depend directly on the underlying moneyphp/money library with a thin Laravel service provider.

When to Consider This Package

  • You need precise monetary calculations, currency-aware formatting, and avoidance of floating-point errors.
  • Your application can run PHP 8.1+; if you still support PHP 7.4/8.0, remain on v0.1.x or plan an upgrade before adopting v0.2.0.
  • You are on Symfony and want bundle integration; for Laravel, evaluate whether a Laravel-specific wrapper or direct use of moneyphp/money is a better fit.
  • Look elsewhere if you need persistence, ledger/accounting workflows, tax engines, or payment processing—this is a value-object utility, not a full accounting system.

How to Pitch It (Stakeholders)

  • Executives: lowers risk of money-related bugs (rounding, currency mismatches) by using a proven library; lightweight dependency with low lock-in.
  • Engineering: v0.2.0 is a platform-support release—no new features—but it is a breaking change for PHP <8.1. It aligns the package with PHP 8.1–8.4 and provides immutable Money/Currency value objects; Laravel teams should wrap it or use moneyphp/money directly.
  • Roadmap: adopt now only if PHP 8.1+ is your baseline; otherwise schedule the PHP upgrade before taking v0.2.0.
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.
laravel2580/idehelpers
delatbabel/viewpages
anavel/gettext
muhamadrezaar/highcharts
delatbabel/keylists
frankkessler/salesforce-laravel-oauth2-rest
anavel/foundation
wdmtech/enviricons
eii/laravel-captcha
muka/shape-reader
tdt/json
refinery29/php-cs-fixer-config
hotmeteor/eco-env
mvaliolahi/hydrate
wearede/tbcpay-php
parsnick/steak
thibaud-dauce/mattermost-php
multilinguals/apollo-client
antaresbr/collection
kr0lik/phpstan-rules