entrust
entrust copied to clipboard
Error on envoy deploy
Hello! I'm using envoy to deploy my laravel on VPS, and there is some error:
[-@-]: Generating optimized autoload files
[-@-]: Illuminate\Foundation\ComposerScripts::postInstall
[-@-]: > php artisan optimize
[-@-]: PHP Fatal error: Class 'Zizaco\Entrust\EntrustServiceProvider' not found in /var/www/www-root/data/www/.../releases/20180209224016/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 208
[-@-]: [Symfony\Component\Debug\Exception\FatalErrorException]
[-@-]: Class 'Zizaco\Entrust\EntrustServiceProvider' not found
[-@-]: Script php artisan optimize handling the post-install-cmd event returned with error code 255
my composer.json
"require": {
"php": ">=5.6.4",
"laravel/framework": "5.4.*",
"laravel/tinker": "~1.0",
"martinlindhe/laravel-vue-i18n-generator": "^0.1.12",
"zizaco/entrust": "5.2.x-dev"
},