Welcome Guest, Not a member yet? Register   Sign In
codeigniter : How to load two third party libraries using composer - $config[composer

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?

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

not possible dude!
you need to reinstall.

Theme © iAndrew 2016 - Forum software by © MyBB