Skip to content

Commit c535283

Browse files
committed
update readme
1 parent efc0326 commit c535283

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

readme.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,21 @@ Laravel File API is good way to handle files with Laravel Storage.
88

99
1. Install File API
1010

11-
```composer require unisharp/laravel-fileapi```
11+
```php
12+
composer require unisharp/laravel-fileapi
13+
```
1214

1315
1. Set service provider in `config/app.php`
1416

15-
````Unisharp\FileApi\FileApiServiceProvider::class,```
17+
```php
18+
Unisharp\FileApi\FileApiServiceProvider::class,
19+
```
1620

1721
1. publish config file
1822

19-
```php artisan vendor:publish --tag=fileapi_config```
23+
```php
24+
php artisan vendor:publish --tag=fileapi_config
25+
```
2026

2127
1. fill the path in config/fileapi.php, it will generate routes for your files.
2228

0 commit comments

Comments
 (0)