I am attempting to include an existing, namespaced library of PHP code ( PHRETS v2, from
https://github.com/troydavisson/PHRETS ). It appears to have been originally packaged for reuse, and claims all you need for compatibility is to require "vendor/autoload.php", which I redirected to Joomla's Libraries. I dropped it into a Joomla Library installer which works well, but am having great difficulty getting Joomla's autoloader to recognize it.
There is very little info out there about how to troubleshoot Joomla's autoloader, and a weekend of experimenting with JLoader::discover, registerNamespaces and registerAlias still leaves me very very confused about what needs to be done.
It appears to also have been written for a system with Guzzle installed for Http connections, so I've made an installer for that library as well.
The normal Joomla debug mechanisms and error reporting don't seem to prove much help for figuring out errors this deep within PHP's operations.
Any guidance for configuring and troubleshooting the autoloader?
Tim