You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 using Httpful\Request fails with Fatal error: Class 'Httpful\Request' not found
If I require('vendor/nategood/httpful/bootstrap.php'); in my code then it works.
The text was updated successfully, but these errors were encountered:
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.
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 withFatal error: Class 'Httpful\Request' not found
If I
require('vendor/nategood/httpful/bootstrap.php');
in my code then it works.The text was updated successfully, but these errors were encountered: