怎么使用 composer: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

29 September 2025

  • curprev 10:4410:44, 29 September 2025Mwroot talk contribs 1,750 bytes +1,750 Created page with "composer 用起来不便,有三种原因,一是 composer 版本旧了,二是网络问题,三是 sudo 问题。 == 解决版本问题 == 不要用发行版自带的 composer,去官网下载最新的 composer,就行了。以下参考近期版本,最新版本请自行去官网查看安装方法: <syntaxhighlight lang="bash" line> php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "if (hash_file('sha384', 'composer-setup.php') =..."