Your vendor/
files are not included when you push to AWS Beanstalk because they're ignored by your .gitignore
file.
You need to include in your git project your composer.json
and composer.lock
to send them on AWS Beanstalk on each update.
You can run composer to install the dependencies with a configuration like explained here : https://stackoverflow.com/a/17528576/1671377