PHP code example of runsite / laravel-filemanager

1. Go to this page and download the library: Download runsite/laravel-filemanager library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

runsite / laravel-filemanager example snippets


        'use_package_routes' => true,
    

        'images_dir'         => 'public/vendor/laravel-filemanager/images/',
        'images_url'         => '/vendor/laravel-filemanager/images/',
        'files_dir'          => 'public/vendor/laravel-filemanager/files/',
        'files_url'          => '/vendor/laravel-filemanager/files/',
    
javascript
        <script>
            CKEDITOR.replace( 'editor', {
                filebrowserImageBrowseUrl: '{{asset('/runsite/laravel-filemanager?type=Images')}}',
                filebrowserBrowseUrl: '{{asset('/runsite/laravel-filemanager?type=Files')}}'
            });
        </script>