I have laravel 5 in a remote server and I have this error Class 'App\Libraries\CheckLang' not found
.
In CheckLang namespace App\Libraries;
in routes.php use App\Libraries\CheckLang;
In local it works but in the remote server no.
I create a folder myapplication with the folders of laravel and in public_html the files of the folder public.
I have modified index.php
require __DIR__.'/../ myapplication/bootstrap/autoload.php';
$app = require_once __DIR__.'/../myapplication/bootstrap/app.php';
Thank you