• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.