我从这个链接获得了有关作曲家和php_ffmpeg的详细信息
https://github.com/PHP-FFMpeg/PHP-FFMpeg
这是我通过cmd更新,要求和安装composer时得到的代码
C:\Windows\system32>composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
C:\Windows\system32>composer require php-ffmpeg/php-ffmpeg
Using version ^0.6.0 for php-ffmpeg/php-ffmpeg
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
C:\Windows\system32>composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
这是我的wamp服务器和已安装模块的屏幕截图
答案 0 :(得分:1)
有两种方法可以做到这一点,
composer require php-ffmpeg/php-ffmpeg
"require": { "php-ffmpeg/php-ffmpeg": "dev-master" }
并执行
composer install