Skip to content

Commit 13645d1

Browse files
committed
fix customization document, set imagick and gd requirement in composer.json
1 parent f2db129 commit 13645d1

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
"require": {
2626
"php": ">=5.5.0",
2727
"illuminate/support": ">=4.2.0",
28-
"intervention/image": "2.*"
28+
"intervention/image": "2.*",
29+
"ext-imagick": "*",
30+
"ext-gd": "*"
2931
},
3032
"suggest": {
3133
"ext-gd": "to use GD library based image processing.",

doc/customization.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,8 @@ Feel free to customize the routes and views if your need.
4141

4242
### Views
4343

44-
1. Copy the views form src/views/ :
45-
46-
on Linux :
47-
48-
```bash
49-
cp -rf vendor/unisharp/laravel-filemanager/src/views/* resources/views/vendor/laravel-filemanager/
50-
```
51-
52-
on MAC :
44+
1. Copy the views from /vendor/unisharp/laravel-filemanager/src/views/ :
5345

5446
```bash
55-
cp -rf vendor/unisharp/laravel-filemanager/src/views/ resources/views/vendor/laravel-filemanager/
47+
php artisan vendor:publish --tag=lfm_views
5648
```

0 commit comments

Comments
 (0)