CodeIgniter Forums
3rd party library - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Best Practices (https://forum.codeigniter.com/forumdisplay.php?fid=12)
+--- Thread: 3rd party library (/showthread.php?tid=86808)



3rd party library - chaos - 02-18-2023

Note: I upgrade CI manually (not with composer update), so all the needed libraries are under 'system'.
I need to install a 3rd party library with 'composer require' but if i do so, composer downgrades and delete a lot of libraries under vendor directory (i suppose it updates the CI framework).
To avoid this, i deleted config.json before running 'composer require' but i think is not the right way to do so.
What is the best way to include a 3rd party library with composer without upgrading all the libraries under vendor (although i think i will be fine because i upgrade CI manually?) or as an alternative, without using composer?
thanks