Level 104
Yes, they are removed by default, but you can easily opt-in using php artisan api:install
2 likes
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
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.
Please or to participate in this conversation.