I created a Lumen 5.3 (5.3 is a requirement) project with this command:
composer create-project --prefer-dist laravel/lumen:5.3 myapp
and according to the Lumen 5.3 documentation, I should have a routes/web.php file for my routes:
You will define all of the routes for your application in the routes/web.php file.
Instead of the above I got a app/Http/routes.php file.
Is the documentation wrong? Am I doing something wrong?
Lumen
5.3.0has the routes file here:app\Http\routes.phpAnd on the
5.3.3they moved it to:routes\web.phpSo technically the documentation is right, since it doesn't specify which exact version of lumen it's for. But your config is right too :)