PHPackages                             subhashladumor1/laravel-invoicelite - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. subhashladumor1/laravel-invoicelite

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

subhashladumor1/laravel-invoicelite
===================================

💼 Laravel InvoiceLite — Multi-language, multi-country, professional invoice generator with PDF/Image export, templates, taxes &amp; sharing 🚀

1.0.5(6mo ago)14373MITPHPPHP ^8.1|^8.2|^8.3

Since Nov 2Pushed 6mo agoCompare

[ Source](https://github.com/subhashladumor1/laravel-invoicelite)[ Packagist](https://packagist.org/packages/subhashladumor1/laravel-invoicelite)[ RSS](/packages/subhashladumor1-laravel-invoicelite/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (9)Versions (8)Used By (0)

Laravel InvoiceLite 🧾
=====================

[](#laravel-invoicelite-)

💼 **Laravel InvoiceLite** — Multi-language, multi-country, professional invoice generator with PDF/Image export, templates, taxes &amp; sharing 🚀

[![Latest Version on Packagist](https://camo.githubusercontent.com/40b9c3ce304c00c1e075176834f9b5aee2100d0985a4aabf2105685dc71d66d6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f737562686173686c6164756d6f72312f6c61726176656c2d696e766f6963656c6974652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/subhashladumor1/laravel-invoicelite)[![Total Downloads](https://camo.githubusercontent.com/5814080489a06cfd2c1281e6053fa27826abe945118d07e650111f5f80cd14ed/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f737562686173686c6164756d6f72312f6c61726176656c2d696e766f6963656c6974652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/subhashladumor1/laravel-invoicelite)[![License](https://camo.githubusercontent.com/b21194a7d180a86cbf98760fdfc387b150f4ada8533617bb45400c7f0c2b1733/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f737562686173686c6164756d6f72312f6c61726176656c2d696e766f6963656c6974652e7376673f7374796c653d666c61742d737175617265)](https://github.com/subhashladumor1/laravel-invoicelite/blob/main/LICENSE)

---

🎯 Introduction
--------------

[](#-introduction)

**Laravel InvoiceLite** is a modern, advanced, multi-language 🌍, multi-country 🌎 invoice generator for Laravel applications. It allows developers to quickly generate, customize, export, share, and email invoices with support for multiple countries, languages, and templates.

This package is built for Laravel 10+ and provides a clean, developer-friendly API to generate professional invoices with minimal setup. With support for 30+ languages and multiple currencies, it's perfect for international businesses.

---

⚡ Features
----------

[](#-features)

- 🧮 **Dynamic Invoice Generation** - From arrays, models, or JSON data
- 🌍 **Multi-language Support** - 30+ popular languages out of the box
- 🌐 **Multi-country Tax Systems** - GST, VAT, Sales Tax, etc.
- 🧱 **Pre-built Templates** - Modern, Classic, Minimal, Business, Corporate designs
- 💾 **Multiple Export Formats** - PDF, Image (PNG/JPEG), HTML
- 📤 **Shareable Links** - Unique signed URLs for invoice sharing
- 🎨 **Custom Branding** - Logo, color, header/footer customization
- 💬 **Localized Templates** - Multi-language using JSON translations
- 💡 **Developer-Friendly** - Single function helper for quick generation
- ⚙️ **Performance Optimized** - Caching and optimization built-in
- 🧑‍💻 **Well Documented** - Comprehensive examples and documentation
- 📧 **Email Integration** - Send invoices directly via email
- 💱 **Automatic Currency Conversion** - Real-time currency conversion
- 🚀 **Fully Customizable** - Extensible and configurable
- 📱 **QR Code Generation** - Automatic QR code for invoice verification
- ✍️ **Digital Signatures** - Add digital signatures to invoices
- 🖼️ **Professional Templates** - Based on modern design principles

---

🧩 Installation
--------------

[](#-installation)

You can install the package via composer:

```
composer require subhashladumor1/laravel-invoicelite
```

---

⚙️ Publish Configuration
------------------------

[](#️-publish-configuration)

Publish the configuration file to customize the package behavior:

```
php artisan vendor:publish --tag=invoicelite-config
```

Publish language files for customization:

```
php artisan vendor:publish --tag=invoicelite-lang
```

Publish template files for customization:

```
php artisan vendor:publish --tag=invoicelite-templates
```

---

🧾 Basic Usage Example
---------------------

[](#-basic-usage-example)

```
use SubhashLadumor1\InvoiceLite\Facades\InvoiceLite;

$data = [
    'invoice_no' => 'INV-2025-001',
    'date' => '2025-01-15',
    'due_date' => '2025-02-15',
    'customer' => [
        'name' => 'John Doe',
        'email' => 'john@example.com',
        'address' => '123 Main St, New York, NY 10001',
        'phone' => '+1 234 567 8900'
    ],
    'items' => [
        ['name' => 'Web Development', 'price' => 1200, 'qty' => 1],
        ['name' => 'Hosting (12 months)', 'price' => 100, 'qty' => 12],
    ],
    'tax' => 18,
    'currency' => 'USD',
    'language' => 'en',
    'notes' => 'Thank you for your business. Payment is due within 30 days.',
    'terms' => 'Please make checks payable to Your Company Name. Late payments are subject to a 1.5% monthly finance charge.',
    'signature' => 'https://example.com/signature.png' // Optional digital signature
];

InvoiceLite::make($data)
    ->template('business') // Try our new professional business template!
    ->currency('USD')
    ->export('pdf')
    ->save(storage_path('invoices/invoice.pdf'));
```

---

🌐 Multi-language Support (30+ Languages)
----------------------------------------

[](#-multi-language-support-30-languages)

Laravel InvoiceLite supports 30+ popular languages out of the box:

LanguageCodeLanguageCodeEnglish`en`Spanish`es`French`fr`Portuguese`pt`German`de`Russian`ru`Hindi`hi`Japanese`ja`Chinese`zh`Korean`ko`Arabic`ar`Italian`it`Dutch`nl`Turkish`tr`Polish`pl`Swedish`sv`Danish`da`Norwegian`no`Finnish`fi`Czech`cs`Hungarian`hu`Romanian`ro`Bulgarian`bg`Greek`el`Thai`th`Vietnamese`vi`Indonesian`id`Malay`ms`Hebrew`he`Ukrainian`uk`Slovak`sk`Croatian`hr`Lithuanian`lt`Latvian`lv`### Multi-language Example

[](#multi-language-example)

```
// Generate invoice in Spanish
InvoiceLite::make($data)
    ->language('es')
    ->template('business')
    ->export('pdf')
    ->save(storage_path('invoices/invoice-es.pdf'));

// Generate invoice in Japanese
InvoiceLite::make($data)
    ->language('ja')
    ->template('corporate')
    ->export('pdf')
    ->save(storage_path('invoices/invoice-ja.pdf'));

// Generate invoice in Arabic (RTL support)
InvoiceLite::make($data)
    ->language('ar')
    ->template('modern')
    ->export('pdf')
    ->save(storage_path('invoices/invoice-ar.pdf'));
```

---

🎨 Professional Templates
------------------------

[](#-professional-templates)

We now offer 5 professional templates:

1. **Modern** - Clean, gradient design with modern aesthetics
2. **Classic** - Traditional invoice layout with borders
3. **Minimal** - Simple, minimalist design
4. **Business** - Professional business template with QR code
5. **Corporate** - Corporate-style template with branding options

### Template Preview

[](#template-preview)

#### Business Template

[](#business-template)

[![Business Template](https://raw.githubusercontent.com/subhashladumor1/laravel-invoicelite/main/src/preview/business.png)](https://raw.githubusercontent.com/subhashladumor1/laravel-invoicelite/main/src/preview/business.png)*Professional business template with QR code and modern styling*

#### Corporate Template

[](#corporate-template)

[![Corporate Template](https://raw.githubusercontent.com/subhashladumor1/laravel-invoicelite/main/src/preview/corporate.png)](https://raw.githubusercontent.com/subhashladumor1/laravel-invoicelite/main/src/preview/corporate.png)*Corporate-style template with branding options*

#### Modern Template

[](#modern-template)

[![Modern Template](https://raw.githubusercontent.com/subhashladumor1/laravel-invoicelite/main/src/preview/modern.png)](https://raw.githubusercontent.com/subhashladumor1/laravel-invoicelite/main/src/preview/modern.png)*Clean, gradient design with modern aesthetics*

#### Classic Template

[](#classic-template)

[![Classic Template](https://raw.githubusercontent.com/subhashladumor1/laravel-invoicelite/main/src/preview/classic.png)](https://raw.githubusercontent.com/subhashladumor1/laravel-invoicelite/main/src/preview/classic.png)*Traditional invoice layout with borders*

#### Minimal Template

[](#minimal-template)

[![Minimal Template](https://raw.githubusercontent.com/subhashladumor1/laravel-invoicelite/main/src/preview/minimal.png)](https://raw.githubusercontent.com/subhashladumor1/laravel-invoicelite/main/src/preview/minimal.png)*Simple, minimalist design*

---

📱 QR Code Generation
--------------------

[](#-qr-code-generation)

All invoices automatically include a QR code for easy verification:

```
// QR code is automatically generated
InvoiceLite::make($data)
    ->template('business')
    ->export('pdf')
    ->save(storage_path('invoices/invoice-with-qr.pdf'));
```

---

✍️ Digital Signatures
---------------------

[](#️-digital-signatures)

Add digital signatures to your invoices:

```
$data = [
    // ... other data
    'signature' => 'https://yourcompany.com/signature.png'
];

InvoiceLite::make($data)
    ->template('business')
    ->export('pdf')
    ->save(storage_path('invoices/invoice-with-signature.pdf'));
```

---

🌎 Multi-country Tax Support
---------------------------

[](#-multi-country-tax-support)

Support for country-specific tax systems:

```
$taxCalculator = new \SubhashLadumor1\InvoiceLite\Services\TaxCalculator();

// Get tax rules for different countries
$indiaTax = $taxCalculator->getCountryTaxRules('IN');    // India - GST (18%)
$ukTax = $taxCalculator->getCountryTaxRules('GB');       // UK - VAT (20%)
$germanyTax = $taxCalculator->getCountryTaxRules('DE');  // Germany - VAT (19%)
$usaTax = $taxCalculator->getCountryTaxRules('US');      // USA - Sales Tax (7.5%)
$canadaTax = $taxCalculator->getCountryTaxRules('CA');   // Canada - HST/GST (5%)
$australiaTax = $taxCalculator->getCountryTaxRules('AU'); // Australia - GST (10%)

// Use country-specific tax in invoice generation
InvoiceLite::make($data)
    ->template('corporate')
    ->export('pdf')
    ->save(storage_path('invoices/invoice-with-uk-tax.pdf'));
```

---

💾 Multiple Export Formats
-------------------------

[](#-multiple-export-formats)

### PDF Export (Default)

[](#pdf-export-default)

```
InvoiceLite::make($data)
    ->template('business')
    ->export('pdf')
    ->save(storage_path('invoices/invoice.pdf'));
```

### HTML Export

[](#html-export)

```
InvoiceLite::make($data)
    ->template('business')
    ->export('html')
    ->save(storage_path('invoices/invoice.html'));
```

### Image Export (PNG/JPEG)

[](#image-export-pngjpeg)

```
// PNG export
InvoiceLite::make($data)
    ->template('business')
    ->export('png')
    ->save(storage_path('invoices/invoice.png'));

// JPEG export
InvoiceLite::make($data)
    ->template('business')
    ->export('jpeg')
    ->save(storage_path('invoices/invoice.jpeg'));
```

---

📤 Shareable Invoice Links
-------------------------

[](#-shareable-invoice-links)

Generate secure, time-limited shareable links for invoices:

```
// Generate a link that expires in 7 days
$link = InvoiceLite::generateShareLink('INV-2025-001', now()->addDays(7));

// Generate a link that expires in 30 days (default)
$link = InvoiceLite::generateShareLink('INV-2025-001');

// Generate a link that expires in 24 hours
$link = InvoiceLite::generateShareLink('INV-2025-001', 24); // 24 hours

// Generate a link that expires on a specific date
$link = InvoiceLite::generateShareLink('INV-2025-001', now()->addMonths(3)); // 3 months
```

---

💱 Currency Support
------------------

[](#-currency-support)

Support for 20+ international currencies:

```
// USD - US Dollar
InvoiceLite::make($data)->currency('USD');

// EUR - Euro
InvoiceLite::make($data)->currency('EUR');

// GBP - British Pound
InvoiceLite::make($data)->currency('GBP');

// INR - Indian Rupee
InvoiceLite::make($data)->currency('INR');

// JPY - Japanese Yen
InvoiceLite::make($data)->currency('JPY');

// CAD - Canadian Dollar
InvoiceLite::make($data)->currency('CAD');

// AUD - Australian Dollar
InvoiceLite::make($data)->currency('AUD');

// CHF - Swiss Franc
InvoiceLite::make($data)->currency('CHF');

// CNY - Chinese Yuan
InvoiceLite::make($data)->currency('CNY');

// And 10+ more currencies...
```

---

🧾 Advanced Usage Examples
-------------------------

[](#-advanced-usage-examples)

### Multiple Invoices Batch Generation

[](#multiple-invoices-batch-generation)

```
$invoices = [
    [
        'invoice_no' => 'INV-2025-001',
        'customer' => ['name' => 'John Doe', 'email' => 'john@example.com'],
        'items' => [
            ['name' => 'Web Development', 'price' => 1200, 'qty' => 1],
            ['name' => 'Hosting', 'price' => 100, 'qty' => 12],
        ],
        'tax' => 18,
        'currency' => 'USD',
        'language' => 'en'
    ],
    [
        'invoice_no' => 'INV-2025-002',
        'customer' => ['name' => 'Jane Smith', 'email' => 'jane@example.com'],
        'items' => [
            ['name' => 'Consulting', 'price' => 800, 'qty' => 5],
            ['name' => 'Training', 'price' => 200, 'qty' => 3],
        ],
        'tax' => 15,
        'currency' => 'EUR',
        'language' => 'fr'
    ]
];

foreach ($invoices as $invoiceData) {
    InvoiceLite::make($invoiceData)
        ->template('business')
        ->export('pdf')
        ->save(storage_path("invoices/{$invoiceData['invoice_no']}.pdf"));
}
```

### Email Invoice Directly

[](#email-invoice-directly)

```
use Illuminate\Support\Facades\Mail;
use SubhashLadumor1\InvoiceLite\Facades\InvoiceLite;

// Generate invoice
$invoicePath = storage_path('invoices/invoice.pdf');
InvoiceLite::make($data)
    ->template('business')
    ->export('pdf')
    ->save($invoicePath);

// Send via email
Mail::send('emails.invoice', ['data' => $data], function ($message) use ($data, $invoicePath) {
    $message->to($data['customer']['email'])
            ->subject("Invoice {$data['invoice_no']}")
            ->attach($invoicePath);
});
```

---

⚙️ Configuration Options
------------------------

[](#️-configuration-options)

The configuration file allows extensive customization:

```
return [
    'default_template' => 'business',
    'default_currency' => 'USD',
    'default_language' => 'en',
    'supported_currencies' => [
        'USD', 'EUR', 'GBP', 'INR', 'JPY', 'CAD', 'AUD', 'CHF', 'CNY', 'SEK',
        'NZD', 'MXN', 'SGD', 'HKD', 'NOK', 'KRW', 'TRY', 'RUB', 'BRL', 'ZAR'
    ],
    'supported_languages' => [
        'en', 'fr', 'de', 'hi', 'es', 'pt', 'ru', 'ja', 'zh', 'ko',
        'ar', 'it', 'nl', 'tr', 'pl', 'sv', 'da', 'no', 'fi', 'cs',
        'hu', 'ro', 'bg', 'el', 'th', 'vi', 'id', 'ms', 'he', 'uk',
        'sk', 'hr', 'lt', 'lv'
    ],
    'supported_templates' => ['modern', 'classic', 'minimal', 'business', 'corporate'],
    'company' => [
        'name' => 'Your Company Name',
        'address' => '123 Main Street, City, Country',
        'email' => 'info@yourcompany.com',
        'phone' => '+1 234 567 8900',
        'website' => 'https://yourcompany.com',
        'logo' => '', // Path to your logo
    ],
    'tax' => [
        'default_rate' => 0.0,
        'display_tax_breakdown' => true,
    ],
    'invoice_number' => [
        'prefix' => 'INV-',
        'length' => 8,
        'reset_yearly' => true,
    ],
    'share_links' => [
        'expire_days' => 30,
        'route_prefix' => 'invoice',
    ],
    'qr_code' => [
        'enabled' => true,
        'size' => 100,
        'format' => 'png',
    ],
    'signature' => [
        'enabled' => false,
        'path' => '', // Path to signature image
    ],
];
```

---

🧩 Helper Functions
------------------

[](#-helper-functions)

The package provides several helpful global functions:

```
// Generate an invoice using the helper
invoice_lite()->make($data)->template('business')->export('pdf')->save($path);

// Format currency
echo format_currency(1234.56, 'USD'); // $1,234.56
echo format_currency(1234.56, 'EUR'); // €1.234,56
echo format_currency(1234.56, 'JPY'); // ¥1,235

// Calculate tax
$taxAmount = calculate_tax(1000, 18); // 180.0
```

---

🧪 Testing
---------

[](#-testing)

To run tests for the package:

```
composer test
```

---

🧩 Contributing
--------------

[](#-contributing)

Contributions are welcome! Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

---

🪪 License
---------

[](#-license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

---

🙏 Acknowledgements
------------------

[](#-acknowledgements)

- [barryvdh/laravel-dompdf](https://github.com/barryvdh/laravel-dompdf) - For PDF generation
- [intervention/image](https://github.com/Intervention/image) - For image processing
- [simplesoftwareio/simple-qrcode](https://github.com/SimpleSoftwareIO/simple-qrcode) - For QR code generation
- All contributors who have helped shape this package

---

📧 Contact
---------

[](#-contact)

For support or feature requests, please [open an issue](https://github.com/subhashladumor1/laravel-invoicelite/issues) on GitHub.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance67

Regular maintenance activity

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

6

Last Release

191d ago

PHP version history (2 changes)1.0.0PHP &gt;=8.1

1.0.1PHP ^8.1|^8.2|^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/f38ba994870f0b2c8855e3f4614b1a8ecfecda7114fa4a8d261b9c6bb192b20b?d=identicon)[subhashladumor1](/maintainers/subhashladumor1)

---

Top Contributors

[![subhashladumor1](https://avatars.githubusercontent.com/u/79623012?v=4)](https://github.com/subhashladumor1 "subhashladumor1 (20 commits)")

---

Tags

ecommerce-invoiceinvoice-generatorinvoice-templatelaravellaravel-frameworklaravel-invoicelaravel-invoicelitelaravel-packagelaravel-utilitiespdf-exportinvoice-generatorLaravel Invoicelaravel invoice packageinvoice pdf generatorlaravel pdf invoicelaravel invoice builderinvoice managementmulti language invoicemulti currency invoicetax invoice systemgst invoicevat invoiceinvoice template laravelprofessional invoicelaravel invoice pdflaravel invoice generator freebusiness invoice systeminvoice export pdflaravel dompdf invoiceinvoice sharing linkcustom invoice designprintable invoice templatefreelancer invoice generatorecommerce invoiceinvoice customizationresponsive invoice templategenerate invoice with taxclient billing laraveldigital invoice laravellaravel invoice makereasy invoice generatormodern invoice systemlaravel-invoicelite

### Embed Badge

![Health badge](/badges/subhashladumor1-laravel-invoicelite/health.svg)

```
[![Health](https://phpackages.com/badges/subhashladumor1-laravel-invoicelite/health.svg)](https://phpackages.com/packages/subhashladumor1-laravel-invoicelite)
```

###  Alternatives

[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[torchlight/torchlight-laravel

A Laravel Client for Torchlight, the syntax highlighting API.

120452.8k11](/packages/torchlight-torchlight-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
