![]() |
using nirgendswo/valitron and not vlucas/valitron - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: using nirgendswo/valitron and not vlucas/valitron (/showthread.php?tid=88376) |
using nirgendswo/valitron and not vlucas/valitron - nunenthal - 08-30-2023 Hello, I have a big problem, I want to use the Utrust paiement plateform in my application. I use composer to install codeigniter. My problem is that Utrust use nirgendswo/valitron wich is a fork of vlucas/valitron. The two librairy use the same name of class: Valitron. Then I tried to modify composer setting to use nirgendswo/valitron wich instead of vlucas/valitron with no sucess. Now I think my best chance of success is to install nirgendswo/valitron manualy and deactivated vlucas/valitron. Or create alias for the second class like valitron2. I have absolute no idea how to proceed, please help. Thank you by advance. Laurent. RE: using nirgendswo/valitron and not vlucas/valitron - ozornick - 08-30-2023 Init class in your code as alias? Example: use Vlucas\Valitron as ValitronVlucas |