Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

JP20221069's avatar

New app created with laravel new lacks API routes

So I've created an app using "laravel new" for example "laravel new test-app". What happens is it's lacking an api.php file in the routes folder, which it would create back in laravel 8.x.... why isn't this happening? Have API routes moved or is there now a specific command I need to run to get the file to appear? There is only a web.php file.

0 likes
3 replies

Please or to participate in this conversation.