I am trying to upload only certain provider files to my server using Laravel Forge. The reason is that I edited the code in some of my dependencies, what is happening now is that some functions of my site break, because when I exit Envoyer to my server, Envoyer grabs my GitHub repository.
my GitHub repo does not contain the provider directory, as it should not, because Iv'e added this directory to my gitignore file
/vendor/* /node_modules Homestead.yaml Homestead.json .env
I tried a whitelist of specific folders in the directory, for example:
/vendor/* /node_modules Homestead.yaml Homestead.json .env !/vendor !/vendor/misd
But after I deploy from Envoyer to my server, my site stops working and I get an error message
Warning: require(/home/forge/default/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /home/forge/default/bootstrap/autoload.php on line 17
I tried to include the autoload.php file in the white list, but I still get a similar message after deployment
How to load my version of dependencies (modified dependencies). What happens now is that Envoyer captures all the dependencies through the composer, thereby capturing the dependency repositories, which is great, but I need to be able to install my own versions of some of these dependencies
any ideas
Luna
source share