Including Vendor Files (e.g. Authorize.net) in CakePHP 3

 

Including Vendor Files (e.g. Authorize.net) in CakePHP 3

Controller:

use yourfolderinvendor\src;
use yourfolderinvendor\src\clsXYZ;

?
Controller Method:

require_once(ROOT . DS . 'vendor' . DS  . 'yourfolderinvendor' . DS . 'src' . DS . 'clsXYZ.php');      

 

Share this Post