We have a Laravel 5.7 website in which we try to make PHPdocx work. So far, the installation in the project worked using the docs here https://www.phpdocx.com/documentation/cookbook/integrate-phpdocx-with-laravel.
However, we deploy our code using Laravel Envoyer which copies the code from our git repo to a new directory on the server and runs composer install afterwards. The process can not complete though as an error occurs, probably because we had to put the phpdocx library in the /vendor folder manually.
Here is the error message from Envoyer:
Warning: require(/home/forge/dev.doc.legal/envoyer/releases/20190125134920/vendor/autoload.php): failed to open stream: No such file or directory in /home/forge/dev.doc.legal/envoyer/releases/20190125134920/artisan on line 18 Fatal error: require(): Failed opening required '/home/forge/dev.doc.legal/envoyer/releases/20190125134920/vendor/autoload.php' (include_path='.:/usr/share/php') in /home/forge/dev.doc.legal/envoyer/releases/20190125134920/artisan on line 18 PHP Warning: require(/home/forge/dev.doc.legal/envoyer/releases/20190125134920/vendor/autoload.php): failed to open stream: No such file or directory in /home/forge/dev.doc.legal/envoyer/releases/20190125134920/artisan on line 18 PHP Fatal error: require(): Failed opening required '/home/forge/dev.doc.legal/envoyer/releases/20190125134920/vendor/autoload.php' (include_path='.:/usr/share/php') in /home/forge/dev.doc.legal/envoyer/releases/20190125134920/artisan on line 18
Do you have any clue how we can solve this and make it deploy smoothly?
Thanks in advance!