Quite shot Q.
I am writing a short package to communicate with an external Api. Laravel 5.1 doesn't have out of the box methods to send get (http) requests, so i use Guzzle.
I add require { "guzzlehttp/guzzle": "~6.0" } in my package's composer.json
Next step: is to require 'vendor/autoload.php'; Where should i put this in my package?
Whithout that i still get an error:
FatalErrorException in RestClient.php line 31:
Class 'GuzzleHttp\Client' not found
Much appreciate your advice
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire