CodeIgniter Forums
codeigniter : How to load two third party libraries using composer - $config[composer - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: codeigniter : How to load two third party libraries using composer - $config[composer (/thread-77202.html)



codeigniter : How to load two third party libraries using composer - $config[composer - Eliza5692 - 08-01-2020

I am using two third party libraries in codeigniter
(1) php spreadsheet (2) mpdf
libraries are installed by composer, path of spreadsheet
(project folder/vendor/...........)
path of mpdf
(project folder/vendorone/......)
if i set $config['composer_autoload'] = 'vendor/autoload.php'; then spreadsheet library working
& if i set $config['composer_autoload'] = 'vendorone/autoload.php'; then mpdf library working
but i wants to load both of these library as below e.g
$config['composer_autoload'] =array('vender1/autoload.php','vendor/autoload.php');
how is it possible?


RE: codeigniter : How to load two third party libraries using composer - $config[composer - jreklund - 08-01-2020

It's not possible, you need to install it into the same vendor folder. So re-do your installation.