Hey, I'm trying to figure out how I should import an external class. I assume it is done via the classloader which worked, but the issue I have is that this class requires a lot of other classes and the list is nearly endless. I wrote a small php script which works fine, but as soon as I try to implement it into phalcon it fails with missing classes.
https://gist.githubusercontent.com/Slind14/46461697e3c143a346a1/raw/21a998967fa8f39e531e43607b3e1ce55b367161/gistfile1.txt <- php script
This php code works fine when run alone. But when I add it to a Controller and add the "Autoloader.php" to the Phalcon loader (which works) it doesn't load the other required classes (e.g. Xenforo/Application, Zend/Controller/Request/Http, Zend/Registry).
What is the best way to get this working?
Thank you very much, Slind14