Question
App Platform Composer Install With Dev
In App Platform for PHP Environment. How do i force the composer install to install the packages including dev?
Currently it looks like the installing dependencies process only installed the packages for prod and no dev. I tried to use build_command: composer install --dev
in app spec.yml but no luck/still error.
As with Symfony Framework, there are “post-install-cmd” scripts where it’s executed after package installed and since the env are dev
. It expected if the application have installed the package in “require-dev” part.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×