Skip to content

Commit 0d8896e

Browse files
committed
Readme installation updates for Laravel 8
1 parent f489d8a commit 0d8896e

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Latest Unstable Version](https://poser.pugx.org/laraveldaily/laravel-invoices/v/unstable)](https://packagist.org/packages/laraveldaily/laravel-invoices)
66
[![License](https://poser.pugx.org/laraveldaily/laravel-invoices/license)](https://packagist.org/packages/laraveldaily/laravel-invoices)
77

8-
This Laravel package provides an easy to use interface to generate **Invoice PDF files** with your provided data.
8+
This Laravel package provides an easy to use interface to generate **Invoice PDF files** with your provided data.
99

1010
Invoice file can be stored, downloaded, streamed on any of the filesystems you have configured. Supports different templates and locales.
1111

@@ -31,8 +31,16 @@ Please see the [changelog](CHANGELOG.md) for more information on what has change
3131

3232
Via Composer
3333

34+
### Laravel version 8
35+
36+
```bash
37+
$ composer require laraveldaily/laravel-invoices:^2.0
38+
```
39+
40+
### Laravel version <= 7
41+
3442
```bash
35-
$ composer require laraveldaily/laravel-invoices
43+
$ composer require laraveldaily/laravel-invoices:^1.3
3644
```
3745

3846
After installing Laravel Invoices, publish its assets, views, translations and config using the `invoices:install` Artisan command:
@@ -178,7 +186,7 @@ use LaravelDaily\Invoices\Classes\InvoiceItem;
178186
->logo(public_path('vendor/invoices/sample-logo.png'))
179187
// You can additionally save generated invoice to configured disk
180188
->save('public');
181-
189+
182190
$link = $invoice->url();
183191
// Then send email to party with link
184192

0 commit comments

Comments
 (0)