So i'm working in a project and i'm useing Phalcon's Multi so i can have a frontend and backend , but i can't get PHPMailer or any class to work !
I have included a namespace for the libraries as " Frontend\Libraries ", so in the Controller i just include it ( " use Frontend\Libraries\PHPMailer as PHPMailer " ), but when i init the class and var_dump it nothing happens . I also had a classe that i made called Zipper, but that class just displayed the raw code after a " $this->_zip " call inside the class .
$loader->registerNamespaces([
        'Frontend\Controllers'  => __DIR__ . '/controllers/',
        'Frontend\Models'       => __DIR__ . '/models/',
        'Frontend\Libraries'    => __DIR__ . '/library/',
    ]);Controller
namespace Frontend\Controllers;
use Frontend\Libraries\PHPMailer\phpmailer as PHPMailer;
class RequestController extends ControllerBase
{
    public function SendmailAction()
    {
        $mail = new PHPMailer();
        var_dump($mail);
        # $this->view->setRenderLevel(View::LEVEL_ACTION_VIEW);
    }
}