I have LfmController.php
of tswaler laravel-filemanager package with folder structure such as project\vendor\tsawler\laravel-filemanager\src\controllers\LfmController.php
.
I used route as Route::get('/laravel-filemanager', 'Tsawler\Laravelfilemanager\controllers\LfmController@show');
for accessing that controller's show()
method.But it gives:
ReflectionException in Container.php line 737: Class App\Http\Controllers\Tsawler\Laravelfilemanager\controllers\LfmController does not exist
error.This worked in my previous project but it now doesn't work on current project.What should be route structure to access controller inside vendor folder,like above?How to debug this kind of issue?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire