✅ import all resources
🟠composer require barryvdh/laravel-elfinder
🟠composer require barryvdh/laravel-elfinder—app.php
🟠php artisan elfinder:publish
🟠php artisan vendor:publish --provider='Barryvdh\Elfinder\ElfinderServiceProvider' --tag=config
🟠php artisan vendor:publish --provider='Barryvdh\Elfinder\ElfinderServiceProvider' --tag=views
✅ php artisan storage:link
Best tool ELFINDER also included;
<script> document.addEventListener("DOMContentLoaded", function() { CKEDITOR.replace('editor_uz', { filebrowserBrowseUrl: '/elfinder/ckeditor', }); CKEDITOR.replace('editor_ru', { filebrowserBrowseUrl: '/elfinder/ckeditor', // CKEditor configuration options }); CKEDITOR.replace('editor_en', { filebrowserBrowseUrl: '/elfinder/ckeditor', // CKEditor configuration options }); }); </script>skip
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
http://ckeditor.com - See LICENSE.md for license information.
CKEditor is a text editor to be used inside web pages. It's not a replacement for desktop text editors like Word or OpenOffice, but a component to be used as part of web applications and websites.
The full editor documentation is available online at the following address: http://docs.ckeditor.com
Installing CKEditor is an easy task. Just follow these simple steps:
- Download the latest version from the CKEditor website: http://ckeditor.com. You should have already completed this step, but be sure you have the very latest version.
- Extract (decompress) the downloaded file into the root of your website.
Note: CKEditor is by default installed in the ckeditor
folder. You can
place the files in whichever you want though.
The editor comes with a few sample pages that can be used to verify that
installation proceeded properly. Take a look at the samples
directory.
To test your installation, just call the following page at your website:
http://<your site>/<CKEditor installation path>/samples/index.html
For example:
http://www.example.com/ckeditor/samples/index.html