• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
codeigniter : How to load two third party libraries using composer - $config[composer

#1
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?
Reply

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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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