Symfony 5 HttpClient and TDD Tutorial (Part 1)

preview_player
Показать описание
ℹ This is the first of a multi-part tutorial in which I will show you how to consume a 3rd party API using the Http Client and I'll drive out all functionality using test driven development (TDD).

💻Here is the github repo for this tutorial. There is a separate branch for each recording. The branch for this one is called 'part-one'.

👇Follow me on Social Media:

💕Show support:

🔗Here are the links I mention in the video:
Рекомендации по теме
Комментарии
Автор

Great video Gary, your workflow is so smooth, looking forward for the next part of this tutorial, thanks for sharing.

adelhishem
Автор

Like always, great content, one of the best chanel out there with symfony content, looking forward for the next part.

ramo
Автор

Loved it Gary, never knew the in memory SQlite trick

parijke
Автор

Thanks for this video Gary! I have a question. I get an error when i use setUp in StockTest.php: Method is not compatible with method

Do you know what causes this problem? Maybe it is because i use symfony 4? If so how can i fix this for symfony 4 because i need to use it for my usecase

UPDATE:
And also when i change the name of setUp to something like setUpTest and run the test like at 12:25 i get an error message: Error: Call to a member function persist() on null

I also get another error: Expected type Found

puffkitty
Автор

Gary, thanks a lot for this video. I'm newbie in Symfony and video very helpful for me.

ChristoforVrungel
Автор

How much PHP should you know before diving into a framework like Symfony or Laravel? And which one would be easier to start with?

adante
Автор

Does this tutorial just not work for Symfony 6? been racking my brain on this and it's constantly doing things differently than you are showing...

absolutedoruiyaaa