Libraries tagged by minor-units
roundly-consulting/money-for-laravel
1186 Downloads
Immutable arbitrary-precision Money and Currency value objects for Laravel: ISO 4217 + custom currencies, exact decimal parsing, rounding-safe arithmetic and allocation, locale formatting, Eloquent casts and schema macros, validation, discounts, tax, and pluggable exchange rates (array, database, ECB).
tmonier/sylius-erp-flatfile-plugin
1381 Downloads
Flat-file exchange with an ERP for Sylius 2: orders exported as CSV files (documented contract, UTF-8, ";" separator, minor-unit integers) from the events of the webhook outbox, deposited atomically in an exchange directory
fezz/money-magic
1025 Downloads
Generate consistent Brick\Money accessors for Eloquent "money" fields stored as minor units (ints). Define money mappings once, avoid floats, keep currency handling centralized, and optionally scaffold mappings via Artisan for clean, type-safe monetary domain code.
arraypress/wp-money
472 Downloads
Integer-minor-unit money formatting and parsing for WordPress. 136 currencies with the correct decimal exponent, so the twenty that are not two decimal places are right.
nowo-tech/invoice-kit-bundle
7 Downloads
Tenant-aware invoicing for Symfony: issuer and numbering series per tenant, drafts, gapless numbers drawn at issue, immutable issued invoices, VAT per rate group in integer minor units, a branded PDF stored with its SHA-256, sending through the host, a JSON API and agent-ready operations; off by default, on a private entity manager with a UiKit + FormKit UI.
dranzd/common-utils
24 Downloads
Small, dependency-free PHP utilities: array key case conversion and merging, string case conversion, safe nested access, reflection helpers, date validation, money minor-unit conversion and SQL LIKE pattern building.
sugarcommerce/currency
1 Downloads
Money formatting and parsing for integer minor units. 136 currencies with correct decimal exponents — including the twenty where dividing by 100 is wrong. Zero dependencies.
itmosoft/laravel-escrow
2 Downloads
Escrow workflow records for Laravel applications, with integer minor-unit amounts, polymorphic parties, transaction-safe state transitions, and event history.
gusmanwidodo/laravel-billing
15 Downloads
Generic, multi-purpose billing & invoicing for Laravel. Polymorphic billable, integer-minor-unit money (no float errors), line items with tax & discount, computed totals, and payment recording. Payment-gateway agnostic.