Skip to content

Commit

Permalink
update docs for 1.6.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
streamtw committed Jan 3, 2017
1 parent dd8f06d commit 4ad58cb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 14 additions & 2 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ In `config/lfm.php` :
// true : filter filename characters which are not alphanumeric, and replace them with '_'
'alphanumeric_filename' => true,

// true : filter folder name characters which are not alphanumeric, and replace them with '_'
'alphanumeric_directory' => false,

'use_package_routes' => true,
// set this to false to customize route for file manager

'middlewares' => ['auth'],
'middlewares' => ['web','auth'],
// determine middlewares that apply to all file manager routes
// NOTE: for laravel 5.2, please use ['web', 'auth']
// NOTE: for laravel 5.1, please use ['auth']

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

'images_startup_view' => 'list',
// default view type for images

'files_dir' => 'public/files/',
'files_url' => '/files/',
// path and url of files

'files_startup_view' => 'list',
// default view type for files

'max_image_size' => 500,
'max_file_size' => 1000,
// max uploading size for images/files

// valid image mimetypes
'valid_image_mimetypes' => [
Expand Down
4 changes: 4 additions & 0 deletions docs/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@
1. [Upgrade](https://github.com/UniSharp/laravel-filemanager/blob/master/docs/upgrade.md)

## List of events
* Unisharp\Laravelfilemanager\Events\ImageIsUpload
* Unisharp\Laravelfilemanager\Events\ImageWasUploaded
* Unisharp\Laravelfilemanager\Events\ImageIsRenaming
* Unisharp\Laravelfilemanager\Events\ImageWasRenamed
* Unisharp\Laravelfilemanager\Events\ImageIsDeleting
* Unisharp\Laravelfilemanager\Events\ImageWasDeleted
* Unisharp\Laravelfilemanager\Events\FolderIsRenaming
* Unisharp\Laravelfilemanager\Events\FolderWasRenamed

## How to use
Expand Down

0 comments on commit 4ad58cb

Please sign in to comment.