Problems using Entrust with Laravel 5.1

1

My OS is Linux , I installed Laravel 5.1 and it was running correctly. I installed the Entrust package via artisan and was setting it up by following the README.md ( link instructions) until you reach the point of executing the following command:

php artisan vendor: publish

As an answer I get the error:

PHP Fatal error:  Call to undefined method Zizaco\Entrust\EntrustFacade::isDeferred() in /var/www/html/fretesja/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 119

[Symfony \ Component \ Debug \ Exception \ FatalErrorException]
  Call to undefined method Zizaco \ Entrust \ EntrustFacade :: isDeferred ()

Now Laravel is no longer working.

Do you know of any way to get around this issue and have Entrust working?

    
asked by anonymous 20.10.2015 / 12:57

1 answer

0

You need to put this in aliases of config/app.php :

'Entrust' => 'Zizaco\Entrust\EntrustFacade' 
    
20.10.2015 / 13:02