File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1717
18181 . Install package
1919
20- ```
20+ ``` bash
2121 composer require unisharp/laravel-filemanager
2222 ```
2323
3838
39391. Publish the package' s config and assets :
4040
41- ```
41+ ```bash
4242 php artisan vendor:publish --tag=lfm_config
4343 php artisan vendor:publish --tag=lfm_public
4444 ```
4545
46461. Set user' s folder name (with a column name in users table) in ` config/lfm.php` :
4747
48- ```
48+ ` ` ` php
4949 ' user_field' => ' name' ,
5050 ` ` `
5151
7575
7676# # Setting config
7777
78- In `config/lfm.php` :
78+ In ` config/lfm.php` :
7979
8080 ` ` ` php
8181 ' rename_file' => true,
@@ -127,6 +127,6 @@ In `config/lfm.php` :
127127
1281281. To customize the views :
129129
130- ```
131- cp vendor/unisharp/laravel-filemanager/src/views/* resources/views/vendor/laravel-filemanager/
130+ ```bash
131+ cp -rf vendor/unisharp/laravel-filemanager/src/views/* resources/views/vendor/laravel-filemanager/
132132 ```
You can’t perform that action at this time.
0 commit comments