If you want to call api functionality in you web app then Guzzlehttp package will help you to do that. To install this package you must use composer command.
We consider you have installed laravel app already and following are the steps you need to follow to use Go to the root directory of you app and install using below command composer require guzzlehttp/guzzle After install this you can see the packages inside you Laravel framework(project-root\vendor\).
use GuzzleHttp\Client; First we need to create client to consume api in our application.