Hello,
I’m trying to add a vendor to the advanced Yii2 template. They are using namespaces and I’m pulling my hair out. I believe the problem is that they are creating namespaces in each of their lib files and it’s conflicting with Yii2. The source is https://github.com/Exeu/apai-io.
The first person to give solution I will gladly pay $50 as this is an emergency. I have paid people before on this forum for successful solutions
In the vendor autoload.php I added
require_once DIR . ‘/apaiiomaster/lib/ApaiIO/ApaiIO.php’;
In the controller I would like to use the classes I put
use ApaiIO\ApaiIO;
use ApaiIO\Configuration\GenericConfiguration;
use ApaiIO\Operations\Lookup;
Please let me know a solution and your email. If it works I will gladly pay as I’m really struggling.
Thanks,
Jim