Skip to content

API reference

Quittio\Core\Support

quittio/core#

Quittio\Core\Support

  • AmountFactory for monetary amounts.
  • DateCalendar date without time of day.
  • DatedValuesValues that change on dates, e.g. tax rates or reference interest rates: every value holds from its date until the next change.
  • DecimalHelpers for exact decimal arithmetic. Floats are rejected on purpose, see rejectFloat().
  • Macroable traitLightweight macro support without a dependency on Laravel. Country packs use it to add helpers such as smallAmount() to the invoice builder.
  • ProcessMinimal external process runner with stdin, timeout and captured output.

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.