How to install API routes in a new Laravel 11 app

preview_player
Показать описание
At Laracon EU, Taylor demoed some route changes related to the API in Laravel 11 and showed the artisan command to bring back the API routes if needed.

@laravelnews on social:

----------------------------------------------------------------------
JOIN OUR WEEKLY LARAVEL NEWSLETTER
----------------------------------------------------------------------

#laravel #laravel11
Рекомендации по теме
Комментарии
Автор

Glad to see commands but still think this cut down way is wrong direction for the framework. It hurts new people learning the framework.

TristanBailey
Автор

It was completely fine the way it was, what was the motivation behind this change?

xLastxTemplarx
Автор

I really wouldn't have known why api.php was missing if I hadn't seen this video....

CKHu-ulxy
Автор

trying to configure the sanctum token auth APIs for two days now... Why is it so difficult. I always get csrf token missmatch

Janiel
Автор

As a beginner who only uses Laravel for apis, I panicked not seeing its file after v11 installation 😄

jackreacher
Автор

me mate buscando una forma de crear api en v11 de laravel y tu me sacaste del apuro gracias

kim_lulu
Автор

what's going one I want to use socilite with api how its going to work now is it even possible to use santcum and socialite together have you guys thot about that? if not this may be a reason for me to move to nodejs

salesincubators
Автор

i just started laravel, and all the tutorial have api.php.

no wonder, hard to learn for someone new

ipanxbread
Автор

is laravel 11 officially released yet ?

help
Автор

No need for this. It was a downgrade. Terrible change.

matheusmurray