Open janooosh opened 4 years ago
From the documentation, change your route! Edit routes/web.php :
Create route group to wrap package routes.
Route::group(['prefix' => 'laravel-filemanager', 'middleware' => ['web', 'auth']], function () {
\UniSharp\LaravelFilemanager\Lfm::routes();
});
Make sure auth middleware is present to :
prevent unauthorized uploads work properly with multi-user mode
package 2.0 version support laravel 6.10 ? I have trouble in 1.8 version with lavael 6
After following the installation procedures, i receive a 404 when opening the filemanager. Interestingly, it works fine with 1.8 (on laravel 6; with composer require laravel/helpers which i actually don't want to do for future compability issues and because i would love to use the newest features of this great package).
After adding the following snippet to web.php, the error changed to "Target class [Unisharp\Laravelfilemanager\controllers\LfmController] does not exist."
How can i get 2.0 to work with laravel 6.0? Thanks, great package!