Global invoice utilities for Laravel
- Tax
- Discounts
- Currency
- Number to Words
- 🌍 Multi-country tax (GST, VAT, Sales Tax)
- 💸 Percentage & flat discounts
- 🔢 Number to words (locale-based)
- 💱 Currency formatting (Intl)
- 🔄 Inclusive & exclusive tax
- 🧪 Fully tested (PHPUnit)
- ⚡ Fluent, developer-friendly API
Install the package via Composer:
composer require vivek-mistry/laravel-invoice-enginephp artisan vendor:publish --tag=invoice-configuse Invoice;
Invoice::amount(1000)
->country('IN')
->taxRate(18)
->summary();Invoice::amount(1000)
->discountPercent(10)
->taxRate(18)
->summary();Invoice::amount(1000)
->discountPercent(10)
->taxRate(18)
->summary();Invoice::amount(1180)
->inclusive(true)
->taxRate(18)
->summary();Invoice::amount(1250)->words();- 🇮🇳 India (GST)
- 🇺🇸 USA (Sales Tax)
- 🇬🇧 UK (VAT)
- 🇪🇺 EU (VAT)
- 🇦🇪 UAE (VAT)
vendor/bin/phpuitInitial Release
- Vivek Mistry - Project creator and maintainer
MIT License. See LICENSE for details.
