更新依賴版本,并將新版本更新進鎖文件:
~~~
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>
~~~