Download the PHP package neptunesoftware/laravel-invoice without Composer
On this page you can find all versions of the php package neptunesoftware/laravel-invoice. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download neptunesoftware/laravel-invoice
More information about neptunesoftware/laravel-invoice
Files in neptunesoftware/laravel-invoice
Package laravel-invoice
Short Description Easy invoice generation using Laravel Eloquent
License MIT
Homepage https://github.com/neptunesoftware/laravel-invoice
Informations about the package laravel-invoice
laravel-invoice
This package has been changed, updated and redistributed. To utilize original distribution, see sandervanhooft/laravel-invoicable repository.
IMPORTANT
This fork is going to be maintained by @neptunesoftware and it's not compatible with original repository.
Easy invoice 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 invoice.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-invoice with dependencies
ext-intl Version *
dompdf/dompdf Version ^0.8.0
illuminate/support Version ^5.8|^6.0|^7.0
nesbot/carbon Version ^1.22|^2.0