Installation Guzzle in Laravel 5

Rahman za picture Rahman za · Jul 31, 2015 · Viewed 45.7k times · Source

how to Install Guzzle into Laravel 5? I'm using laravel for my project, but I need library like guzzle to made me easy using curl in laravel. Any Body can help?

Answer

baao picture baao · Jul 31, 2015

Open a terminal, change into your laravel projects root dir and type

composer require guzzlehttp/guzzle

Alternatively, you can add

"guzzlehttp/guzzle":"*"

to your composer.json file's require section and run composer update.