Class 'App\Models\document' not found code example
Example: Class 'App\Http\Controllers\File' not found
// in laravel append the following at the top of controller
use File;
// in laravel append the following at the top of controller
use File;