To autoload composer, open the application/config/config.php file and make the following changes.

Find the following:

$config['composer_autoload'] = FALSE;

Change to the following:

$config['composer_autoload'] = 'vendor/autoload.php';

In the documents above it shows you can also change this value to TRUE but I’ve noticed that it doesn’t really work properly instead of calling out the path/to/vendor/autoload.php as stated in the comments as well.


Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *