php - Way\Generators is breaking Laravel Envoyer -
i'm trying transition laravel 4.2 site forge forge/envoyer. i'm following laracast keep getting error:
php fatal error: class 'way\generators\generatorsserviceprovider' not found in /home/forge/site/envoyer/releases/20150511192402/vendor/laravel/framework/src/illuminate/foundation/providerrepository.php on line 157
on install composer dependencies step of envoyer deployment.
i've removed lines way/generators both composer.json
, config/app.php
, have followed the documentation re-install it. envoyer works way/generators removed keeps failing when add back.
anyone have ideas on how fix it?
in composer.json add way/generators inside "require-dev", downloaded on dev machine.
"require-dev": { "way/generators": "~2.0" }
add way\generators\generatorsserviceprovider
inside local (development) config - config/local/app.php
. way present on development machine, because use config/local/app.php
, while deploying, envoyer use config/app.php
, way\generators\generatorsserviceprovider
not set.
this how config/local/app.php
can like:
<?php return array( 'debug' => true, 'providers' => append_config(array( 'way\generators\generatorsserviceprovider' )) );
Comments
Post a Comment