🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
#### The PHP Package Repository * * * * * https://packagist.org/ * * * * * 包依赖更新 ~~~ "require": { "php": ">=5.4.0", "topthink/framework": "^5.0", "topthink/think-helper": "dev-master", "topthink/think-captcha": "dev-master", "topthink/think-queue": "dev-master", "topthink/think-image": "dev-master", "topthink/think-migration": "dev-master", "kosinix/grafika": "dev-master", "hightman/xunsearch": "*@beta", "riverslei/payment": "~2.0" }, ~~~ `composer.json` 文件增加项目必须用到的相关依赖包之后,运行 `php composer.phar update`即可 ~~~ D:\phpStudy\WWW\workspace\DragonApi>php composer.phar update Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 1 install, 0 updates, 0 removals - Installing topthink/think-image (dev-master cc11f68): Downloading (100%) Writing lock file Generating autoload files D:\phpStudy\WWW\workspace\DragonApi> ~~~ 再如: ~~~ D:\phpStudy\WWW\workspace\DragonApi>php composer.phar update Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 0 installs, 2 updates, 0 removals - Updating topthink/framework (v5.0.12 => v5.0.13): Downloading (100%) - Removing topthink/think-image (dev-master cc11f68) - Installing topthink/think-image (dev-master 87c2946): Downloading (100%) Writing lock file Generating autoload files D:\phpStudy\WWW\workspace\DragonApi> ~~~