Solutions to Challenge 1 and Challenge 2.
PHP 7+, Composer, Guzzle 6+ and Goutte 3+.
Add guzzlehttp/guzzle
and fabpot/goutte
as a require dependency in your composer.json
file.
.. code-block:: php
php solution1.php
php solution2.php
Read the documentation of guzzle and goutte.
Goutte is licensed under the MIT license.