it fixes the issue Translating my comments into an answer. Looks like the error is due to the fact the index.php is not loading by default for a folder. You need to place this line at top of your .htaccess.
Does that help As suggested in the comments by wildplasser, the problem was the CAPS database name in env('DB_DATABASE', 'CDJ_BD'), in database.php and in the .travis files. Switching them all to lowercase 'cdj_bd' solved the problem.
Having trouble trying to switch from MAMP to Laravel Vallet and using the Laravel command line tool