## Documents 1. [Installation](https://github.com/UniSharp/laravel-filemanager/blob/master/doc/installation.md) 1. [Intergration](https://github.com/UniSharp/laravel-filemanager/blob/master/doc/integration.md) 1. [Config](https://github.com/UniSharp/laravel-filemanager/blob/master/doc/config.md) 1. [Customization](https://github.com/UniSharp/laravel-filemanager/blob/master/doc/customization.md) ## WYSIWYG Editor Integration: ### Option 1: CKEditor 1. Install [laravel-ckeditor](https://github.com/UniSharp/laravel-ckeditor) package 1. Modify the views Sample 1 - Replace by ID: ```html ``` Sample 2 - With JQuery Selector: ```html ``` ### Option 2: TinyMCE4 ```html ``` ##Independent use If you are going to use filemanager independently, meaning set the value of an input to selected photo/file url, follow this structure: 1. Create a button, input, and image preview holder if you are going to choose images. Specify the id to the input and image preview by `data-input` and `data-preview`. ```html
Choose
``` 1. Import lfm.js(run `php artisan vendor:publish` if you need). ```javascript ``` 1. Init filemanager with type. (requires jQuery) ```javascript $('#lfm').filemanager('image'); ``` or ```javascript $('#lfm').filemanager('file'); ```