httpful
httpful copied to clipboard
namespace not being learned via composer
Hi,
I've installed via composer and composer is loading the classes from other vendors I have installed but not httpful. If I try to run anything I get this:
PHP Fatal error: Class 'Request' not found in /root/bin/veeam/Classes/Orchestrator.php on line 22
I decided to see what it is learning so I found out (beginning of when composer is loaded):
[142]=>
string(10) "AutoLoader"
[143]=>
string(54) "ComposerAutoloaderInit746f5bbbc9fc93939709bba79054a1b2"
[144]=>
string(29) "Composer\Autoload\ClassLoader"
[145]=>
string(6) "Router"
[146]=>
string(5) "Utils"
[147]=>
string(29) "GetOptionKit\OptionCollection"
[148]=>
string(31) "GetOptionKit\InvalidOptionValue"
[149]=>
string(19) "GetOptionKit\Option"
[150]=>
string(25) "GetOptionKit\OptionParser"
[151]=>
string(25) "GetOptionKit\OptionResult"
[152]=>
string(21) "GetOptionKit\Argument"
[153]=>
string(47) "GetOptionKit\OptionPrinter\ConsoleOptionPrinter"
[154]=>
string(12) "Orchestrator"
As you can see, there's no mention of your class at all. What's the issue here?
Might have to do with https://github.com/nategood/httpful/issues/146. I'm going to take a look into it.