Filemanger In Laravel 5.8

Hòa Nguyễn Thanh
Sep 10 · 2 min read

Installing laravel-filemanger

# composer require unisharp/laravel-filemanager

Config file config/app.php ->providers add line two

//aliases add line -> ‘Image’ => Intervention\Image\Facades\Image::class,

if version Laravel > 5.5, you don’t command install

# php artisan vendor:publish — tag=lfm_config
# php artisan vendor:publish — tag=lfm_public

Delete cache:

# php artisan route:clear
# php artisan config:clear

You can set chmod folder upload images in config/lfm.php , Installing auth in laravel: # php artisan make:Auth

//confing web.php

You need create file in folder views/filemanger.blade.php

Install filemanger in laravel success: php artisan serve

Post:Filemanager in Laravel 5.8

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade