hnhdigital-os/laravel-number-converter
Laravel Number Converter turns numbers into words via a simple facade and service provider. Useful for invoices, cheques, and legal documents, it supports localization and currency-style formatting for readable output in your Laravel apps.
Architecture fit
hnhdigital-os/laravel-number-converter is a thin utility wrapper: a Laravel service provider plus a facade over number-formatting logic (number-to-words, currency-to-words, and related conversions). It is stateless, has no persistence, no queue or event surface, and no runtime coupling to application domain code.Integration feasibility
Technical risk
replace shim, or a swap during the framework upgrade. This release removes that blocker — that is the substantive value here, and it is the reason to re-assess at all.intl/NumberFormatter, behaviour varies with the ICU version shipped by the base image — a silent-difference risk between environments.composer update can change which framework major you resolve against without a major-version signal. Lockfiles and CI are the control.Key questions
illuminate/support, or does it reach into framework internals that shift between majors?intl/NumberFormatter, or hand-rolled? What is the ICU-version sensitivity?null, or malformed string?Stack fit
Migration path
composer require hnhdigital-os/laravel-number-converter:^1.7 then composer update — no code changes expected. Sequence it before the Laravel 11/12 framework bump so the dependency graph is clean when the framework upgrade lands, not after.^1.7. Do not float the constraint during a framework upgrade window.replace/fork of 1.6.0 with widened constraints rather than blocking the framework upgrade — the API surface is small enough that a fork is a days-not-weeks cost.Compatibility
illuminate/* constraints; a single narrow transitive pin can silently hold the whole app back a major.php constraint matches your runtime and your container's ICU build.Sequencing
NumberToWordsFormatter) with the package as the implementation.Maintenance
Support
Scaling
Failure modes
intl extension in a slim container image — hard failure at runtime in production only. Assert the extension at deploy time.Ramp-up
Assessment: 1.7.0 is a routine, non-breaking compatibility release, but it is decision-relevant — it clears the Laravel 11/12 upgrade blocker and converts a "fork or replace before upgrading" posture into "adopt, isolate behind an interface, verify output, proceed." Recommended: adopt ^1.7, pin through the framework upgrade, and put locale output under golden tests. Re-assess only if upstream stalls at the next Laravel major or a release changes formatting output.
How can I help you explore Laravel packages today?