thinkphp5 composer workerman

 

Recently write a websorket. Then get ready to download a swoole. composer has been too slow to load out.

 

 This has been prompted. Then simply to change the image of a laravel.

windows server

Overall situation

composer config -g repo.packagist composer https://packagist.laravel-china.org

Try again.

This is due to the use of local phpstudy I did not open fileinfo extension

Directly in the php.ini inside - to open this extension

Then try

 

 Swoole installed here. But the version does not match. Then I searched for a moment -

Can be directly installed

composer require topthink/think-worker dev-master

This time it

 

Guess you like

Origin www.cnblogs.com/cici1989/p/11102753.html