Looking to hire Laravel developers? Try LaraJobs

laravel-invoice-engine maintained by vivek-mistry

Description
Global invoice engine for Laravel (tax, currency, number to words)
Author
Last update
2025/12/23 08:25 (dev-main)
License
Downloads
2

Comments
comments powered by Disqus

🧾 Laravel Invoice Engine

Global invoice utilities for Laravel

🚀 Features

🛠️ Installation

Install the package via Composer:

composer require vivek-mistry/laravel-invoice-engine

⚙️ Configuration (Optional)

php artisan vendor:publish --tag=invoice-config

🧮 Basic Usage

use Invoice;

Invoice::amount(1000)
    ->country('IN')
    ->taxRate(18)
    ->summary();

💸 Percentage Discount

Invoice::amount(1000)
    ->discountPercent(10)
    ->taxRate(18)
    ->summary();

💱 Flat Discount

Invoice::amount(1000)
    ->discountPercent(10)
    ->taxRate(18)
    ->summary();

🔄 Inclusive Tax

Invoice::amount(1180)
    ->inclusive(true)
    ->taxRate(18)
    ->summary();

🔢 Number to Words

Invoice::amount(1250)->words();

🌍 Supported Regions

🧪 Testing

vendor/bin/phpuit

Change Logs

Initial Release

Credits

License

MIT License. See LICENSE for details.