jeudi 17 mars 2016

Composer error installing laravel-cors

I tried to install laravel-cors

composer require barryvdh/laravel-cors

it installed successfully or so i thought, but then when i went to publish the config i get this error.

[RuntimeException]
  Error Output: PHP Fatal error:  Cannot redeclare Composer\Autoload\includeFile() (previously declared in /www/vendor/composer/ClassLoader.php:410) in /www/config/vendor/composer/ClassLoader.php on line 413

I have tried removing laravel-cors and i still get this error. I have dumped autoload as well. What am i missing?

Larval 5.2 | PHP 5.6.17



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire