php - Laravel Installation while Compiling common classes -


i have error while installing laravel on centos linux. when trying run command

composer create-project laravel/laravel --prefer-dist

i have install composer.

compiling common classes php fatal error:  cannot redeclare class psr\log\loggerinterface in /home/abc/public_html/xyz/laravel/vendor/compiled.php on line 12297 php stack trace: php   1. {main}() /home/abc/public_html/xyz/laravel/artisan:0 php   2. require() /home/abc/public_html/xyz/laravel/artisan:16 php   3. require() /home/abc/public_html/xyz/laravel/bootstrap/autoload.php:34 script php artisan key:generate handling post-create-project-cmd event returned error    [runtimeexception]   error output: php fatal error:  cannot redeclare class psr\log\loggerinterface in /home/abc/public_html/xyz/laravel/vendor/compiled.php on line 12297   php stack trace:   php   1. {main}() /home/abc/public_html/xyz/laravel/artisan:0   php   2. require() /home/abc/public_html/xyz/laravel/artisan:16   php   3. require() /home/abc/public_html/xyz/laravel/bootstrap/autoload.php:34 

i use complete package of laravel larapack. provide ready-to-use laravel instalation, don't have install composer. gets weekly update mention creator.