Skip to content

v0.1.0 – Initial Release

Choose a tag to compare

@3neti 3neti released this 11 Apr 08:11

🚀 Initial Release – Instruction Pricing Engine

This package extracts the instruction pricing domain from the x-change host app into a reusable, standalone Laravel package.

Features

  • InstructionItem model with tariff metadata
  • InstructionItemRepository for data access
  • InstructionCostEvaluator (core pricing engine)
  • ChargeBreakdownData and ChargeEstimateData DTOs
  • Support for:
    • inputs.fields.*
    • validation.*
    • cash.validation.*
    • slice fees
    • quantity-based pricing
    • system-user fee exemptions
  • Factory and Seeder for canonical instruction indices
  • Full Pest + Testbench test coverage

Purpose

This package serves as the pricing engine for:

  • Pay Code issuance cost estimation
  • Wallet affordability validation
  • Tariff-based monetization in x-change

Status

✅ Production logic parity
✅ Fully tested
🔜 API layer (estimate endpoint)