andrey-helldar/digittext
DigitText is a PHP package for converting numbers into written words, with locale support and Laravel integration. It helps generate readable amounts and counts for invoices, receipts, contracts, and other documents that need numbers spelled out clearly.
composer require <vendor>/<package>) and let Laravel package discovery register the service provider/facade. Check the Composer constraints before upgrading across major versions.php artisan vendor:publish --tag=<package-config>) and review the defaults for locale, precision, decimal/group separators, and leading-zero/first-group behaviour.ext-intl is available if the package relies on ICU number formatting, and make sure config('app.locale') matches the locale you expect for display.1234.5 into 1.234,50 for German or 1,234.50 for English using the package’s formatter/facade/helper, then render it in a Blade view or API resource instead of calling number_format() directly.app()->getLocale()) and pass it to the formatter; don’t rely on the server’s default locale.en and de plus edge cases: zero with a fractional part, values below 1, large grouped numbers, and trailing-zero precision..5 instead of 0.5 or truncated decimals, upgrade and add regression tests.app.locale or a package-specific default. German formatting (. grouping, , decimal) is a common source of mismatches..5, update them to 0.5 after upgrading.php artisan config:clear locally and config:cache in production.NumberFormatter. If output looks wrong, compare with PHP’s NumberFormatter/ICU directly to determine whether the issue is package config or the intl data version.How can I help you explore Laravel packages today?