Open llamafilm opened 6 years ago
You should require the composer autoloader at vendor/autoload.php
. That's the way composer works: You require this file once and then composer allows you to use all the dependencies without needing to require anything.
And I just noticed that this issue is 4 months old. Well... at least now you know... :D
I've never used Composer, so maybe I am doing something wrong, but this doesn't seem to work. I added your info to composer.json, then ran
php composer.phar install
and it gave a success message. But usingHttpful\Request
fails with Fatal error: Class 'Httpful\Request' not foundIf I
require('vendor/nategood/httpful/bootstrap.php');
in my code then it works.