SaaSHub helps you find the best software and product alternatives Learn more →
PHP fowler-money-pattern Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
For the last couple of years I’ve been using Value Objects in my projects to bring language-level strict types to what would typically be array data structures in my code. From method inputs to JSON API responses, value objects have almost entirely replaced arrays throughout. The ability to get runtime type checking and IDE auto-complete has eliminated many potential bugs, from key typos, to assigning an incorrectly typed value by accident: what type is an “amount” property in a credit card transaction API response? An integer of cents (or other minor units), a Money object such as brick/money or moneyphp/money? Or worst of all, a float?
PHP fowler-money-pattern related posts
-
Why should you not compare floats directly for equality?
-
Should I store the total price of an order or re-calculate it on-demand every time?
-
Need help with decimal and float type in Laravel API.
-
Trying to create a interface to abstract moneyPHP lib usage
-
MoneyPHP 4.0 released - it's PHP 8 compatible!
-
Handle all the hard stuff related to EU MOSS tax/vat regulations, the way it should be. Fork of mpociot/vat-calculator, standalone, PHP 7.3+, modernized, with more features.
-
A note from our sponsor - SaaSHub
www.saashub.com | 1 Jun 2024
Index
Project | Stars | |
---|---|---|
1 | Money | 4,548 |
Sponsored