Laravel API Subfolder Structure: in App/API?

preview_player
Показать описание
I want to show you a non-traditional example of structuring the API subfolder - not in app/Http/Controllers/API, but in a different location.

- - - - -
Support the channel by checking out my products:

- - - - -
Other places to follow:
Рекомендации по теме
Комментарии
Автор

I was thinking of implementing API versioning in my Laravel project, but was wondering how would i transition between API versions in the codebase? Would I have to copy all of the previous versions' Controllers and make changes in the new one?

kreatur_
Автор

I used a different structure then that, It is

parthgajjar
Автор

Hi Mr! Is it possible to have one or more videos about creating a new package for Laravel on github? I have some ideas but I don't know how to structure a new package. Thanks! :D

IlPandax
Автор

I actually put external APIs in app\Api folder

soniablanche
Автор

O! Yeah! And it's better on an external server and not on your website :) And so that the owner does not know

webdev
welcome to shbcf.ru