Laravel API Subfolder Structure: in App/API?

Laravel API Subfolder Structure: in App/API?

Laravel Daily

1 год назад

6,982 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Kreatur
Kreatur - 17.11.2022 05:14

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?

Ответить
Eduard Espinoza
Eduard Espinoza - 14.11.2022 16:47

En algún momento me será posible pagar por tu contenido premium y así apoyar económicamente tu trabajo. Gracias por tanto, profesor

Ответить
Igor
Igor - 14.11.2022 15:16

What about classes generating by artisan commands, when you use different location?

Ответить
Atif Riaz
Atif Riaz - 14.11.2022 14:06

great video @Pavilos - I have just been following the laravel "default" way if I can say that but I like this approach and awesome to see you can use different approaches

Ответить
Mohammad Ashrafuddin Ferdousi
Mohammad Ashrafuddin Ferdousi - 14.11.2022 12:50

I think its a good idea. Thing I should consider is team development and so, very obvious and common practice needs to consider too.

Ответить
Тимур Васькович
Тимур Васькович - 14.11.2022 11:17

In our team we use nwidart/laravel-modules package. One of the modules is the Api. So it's Modules\Api

Ответить
Web Dev
Web Dev - 14.11.2022 11:08

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

Ответить
Sonia Blanche
Sonia Blanche - 14.11.2022 09:43

I actually put external APIs in app\Api folder

Ответить
Il Pandax
Il Pandax - 14.11.2022 09:33

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

Ответить