GoogleCloudPlatform / appengine-symfony-starter-project

Symfony Starter Project on Google App Engine
Apache License 2.0
42 stars 13 forks source link

parameters.yml not created on install because of missing package #23

Open stephenyeargin opened 6 years ago

stephenyeargin commented 6 years ago

It appears at some point between the updates to this package and today, the behavior of the sensio/distribution-bundle seems to have changed to not include incenteev/composer-parameter-handler by default. Running through the instructions, I observe:

Generating autoload files
Class Incenteev\ParameterHandler\ScriptHandler is not autoloadable, can not call post-install-cmd script
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap

Continuing through the tutorial will not allow the local server to start (because parameters.yml is missing). I was able to get around this by explicitly including incenteev/composer-parameter-handler as instructed here

composer require incenteev/composer-parameter-handler

I would like somebody more familiar with the intricacies of that package to confirm this is the best path, or if I missed something in the documentation.