Enviroment: php 7.3
I added a new package to local composer.json
How can I move the changes? gcloud app deploy seems to ignore it as the new files doesnt appear there.
Is there anything else that needs to be run in order to check the new composer.json and update it live?
From the GCP documentation:
Composer runs automatically when you deploy a new version of your application. Simply add the following line to the top of your PHP scripts to require the autoload.php file:
require_once __DIR__ . '/vendor/autoload.php';
Also,
Scripts defined in your composer.json file will not run when Composer can use a cached result.
By default, App Engine caches fetched dependencies to reduce build times. To install an uncached version of the dependency, use the command:
gcloud beta app deploy --no-cache
Let me know if that helps!