Laravel HTTP Client + Alpine.js: External Weather API Demo

preview_player
Показать описание

Related links:

- - - - -
Support the channel by checking out our products:
Рекомендации по теме
Комментарии
Автор

@2:16 Actually...Laravel's HTTP client is a wrapper for Guzzle, which is in the dependency list by default in a fresh Laravel installation.

KastsEcho
Автор

Very good, please continue to record video's like this

thebigx
Автор

Thank you so much. You really make a difference in the developer community

william
Автор

Thanks as always! I'll see it later! Keep working!

belce
Автор

Since there are no api keys you might as well call the api directly from the client. (Unless they have CORS, but I doubt it. It's an API)

soniablanche
Автор

$coordinates = config('app.cities.'.$city) should be inside the Cache::remember() Closure. It is not used anywhere else in the __invoke method.

intipontt
Автор

The only problem with this way of caching is if the response isn’t good. It’s cached with the bad response.

robertwayne
Автор

Hello sir, Please make a video on how to setup supervisor or run queue in shared hosting

offerszonebr
Автор

Thank you too much for this video.

Is there a way to fetch cities from database?
If yes, how can we do that?

majidkadi
Автор

Povilas, the js code that you have at the end of the app.blame, can I separate it into my own JS and then add the script? or does it not work like that?

leslysuarez
Автор

Hi Povilas! Is there a way to build a client-server web-socket app with two-way communication? Does Laravel allow to build this kind of applications? Thank you!

pavelkostetskiy
Автор

After instaling it and run it I get that error:

Error happened when fetching the API

majidkadi
Автор

Do you recommend learning Alpine over Vue??

ironspider
Автор

Uncaught TypeError: Cannot read properties of undefined (reading 'forEach')
What is the problem?

stefanilic