更新依赖版本,并将新版本更新进锁文件:
~~~
php composer.phar update
~~~
#### 依赖包升级
~~~
D:\phpStudy\WWW\api>php composer.phar update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 1 update, 0 removals
- Updating topthink/framework (v5.0.11 => v5.0.12): Downloading (100%)
- Installing gongfangjun/file-manager (1.0.3): Downloading (100%)
Writing lock file
Generating autoload files
D:\phpStudy\WWW\api>
~~~