Symfony Console Command for weather forecast (Standalone component)

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

In this video you will learn step by step how to create a Symfony command using console component in a standalone way meaning without Symfony framework.
Main features :
- Define arguments and options of the command
- Ask a question with autocomplete suggestions and get the user's answer- Display a progress bar indicating a processing in progress
- Use Symfony's HttpClient component to call an external API and parse it's response
- Display a table

The answers to the questions are :
What class should we use to have a single command application ? 1
When we don’t know if we have curl extension installed what’s the best way to have a instance of HttpClientInterface ? 3
The execute method is called by which method in Symfony\Component\Console\Command Class ? 1

Рекомендации по теме