composer require mirbaagheri/invoice
Add below to your Laravel config file located at config/app.php
:
Add Mirbaagheri\Invoice\Laravel\InvoiceServiceProvider::class
to providers
array.
Add 'Invoice' => Mirbaagheri\Invoice\Laravel\Facades\Invoice::class
to aliases class
.
Run the following command to publish the migrations and config file:
php artisan vendor:publish --provider="Mirbaagheri\Invoice\Laravel\InvoiceServiceProvider"
Run the following command to migrate Sentinel after publishing the assets:
php artisan migrate