Download the PHP package soap/laravel-invoices without Composer
On this page you can find all versions of the php package soap/laravel-invoices. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download soap/laravel-invoices
More information about soap/laravel-invoices
Files in soap/laravel-invoices
Package laravel-invoices
Short Description Easy invoices generation using Laravel Eloquent
License MIT
Homepage https://github.com/soap/laravel-invoices
Informations about the package laravel-invoices
laravel-invoices
This package has been changed, updated and redistributed. To utilize original distribution, see NeptuneSoftware/laravel-invoice repository.
IMPORTANT
This fork is going to be maintained by Prasit Gebsaap and it's not compatible with original repository.
Easy invoices creation for Laravel. Unlike Laravel Cashier, this package is payment gateway agnostic.
What is different?
In order to follow changes, see changelog file.
Structure
Install
Via Composer
You can publish the migration with:
After the migration has been published you can create the invoices and invoice_lines tables by running the migrations:
Optionally, you can also publish the invoices.php
config file with:
This is what the default config file looks like:
If you'd like to override the design of the invoice blade view and pdf, publish the view:
You can now edit receipt.blade.php
in <project_root>/resources/views/invoice/receipt.blade.php
to match your style.
Usage
Money figures are in cents!
Add the HasInvoice trait to the Eloquent model which needs to send or receive invoices (typically a Customer or Company model):
Now you can create invoices for a customer:
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Contributing
Please see CONDUCT for details.
Credits
- Burak
- Fatih
- Uğur
- Sander van Hooft
- All Contributors
- Inspired by Laravel Cashier's invoices.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-invoices with dependencies
ext-intl Version *
dompdf/dompdf Version ^0.8.0
illuminate/support Version ^6.0|^7.0|^8.0
nesbot/carbon Version ^1.22|^2.0