8000 update docs for 1.6.3 release · laravel24/laravel-filemanager@4ad58cb · GitHub
[go: up one dir, main page]

Skip to content

Commit 4ad58cb

Browse files
committed
update docs for 1.6.3 release
1 parent dd8f06d commit 4ad58cb

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

docs/config.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,15 @@ In `config/lfm.php` :
1919
// true : filter filename characters which are not alphanumeric, and replace them with '_'
2020
'alphanumeric_filename' => true,
2121

22+
// true : filter folder name characters which are not alphanumeric, and replace them with '_'
23+
'alphanumeric_directory' => false,
24+
2225
'use_package_routes' => true,
2326
// set this to false to customize route for file manager
2427

25-
'middlewares' => ['auth'],
28+
'middlewares' => ['web','auth'],
2629
// determine middlewares that apply to all file manager routes
27-
// NOTE: for laravel 5.2, please use ['web', 'auth']
30+
// NOTE: for laravel 5.1, please use ['auth']
2831

2932
'allow_multi_user' => true,
3033
// true : user can upload files to shared folder and their own folder
@@ -43,10 +46,19 @@ In `config/lfm.php` :
4346
'images_url' => '/photos/',
4447
// path and url of images
4548

49+
'images_startup_view' => 'list',
50+
// default view type for images
51+
4652
'files_dir' => 'public/files/',
4753
'files_url' => '/files/',
4854
// path and url of files
4955

56+
'files_startup_view' => 'list',
57+
// default view type for files
58+
59+
'max_image_size' => 500,
60+
'max_file_size' => 1000,
61+
// max uploading size for images/files
5062

5163
// valid image mimetypes
5264
'valid_image_mimetypes' => [

docs/events.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@
88
1. [Upgrade](https://github.com/UniSharp/laravel-filemanager/blob/master/docs/upgrade.md)
99

1010
## List of events
11+
* Unisharp\Laravelfilemanager\Events\ImageIsUpload
1112
* Unisharp\Laravelfilemanager\Events\ImageWasUploaded
13+
* Unisharp\Laravelfilemanager\Events\ImageIsRenaming
1214
* Unisharp\Laravelfilemanager\Events\ImageWasRenamed
15+
* Unisharp\Laravelfilemanager\Events\ImageIsDeleting
1316
* Unisharp\Laravelfilemanager\Events\ImageWasDeleted
17+
* Unisharp\Laravelfilemanager\Events\FolderIsRenaming
1418
* Unisharp\Laravelfilemanager\Events\FolderWasRenamed
1519

1620
## How to use

0 commit comments

Comments
 (0)
0