{"id":1583,"date":"2023-03-25T19:30:02","date_gmt":"2023-03-25T11:30:02","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1583"},"modified":"2023-04-27T21:30:15","modified_gmt":"2023-04-27T13:30:15","slug":"install-composer-under-centos","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/25\/install-composer-under-centos\/","title":{"rendered":"CentOS\u4e0b\u5b89\u88c5composer"},"content":{"rendered":"<pre><code>\/\/https:\/\/getcomposer.org\/download\/\n# wget https:\/\/getcomposer.org\/composer.phar\n# wget https:\/\/getcomposer.org\/download\/1.10.13\/composer.phar  \/\/\u52a1\u5fc5\u5b89\u88c5\u6700\u65b0\u7a33\u5b9a\u7248\u672c\n# cp composer.phar \/usr\/bin\/composer\n# chmod +x \/usr\/bin\/composer\n# composer -V\nComposer version 1.10-dev (1.10-dev+67e170eaa8aaf0642873d7dddc8660acb672bcba) 2019-11-23 11:25:23\n# composer config -g repo.packagist composer https:\/\/mirrors.aliyun.com\/composer\/\n# composer global require &quot;laravel\/installer&quot;\n# ln -s \/root\/.config\/composer\/vendor\/laravel\/installer\/laravel \/usr\/bin\/laravel\n# ln -s \/root\/.config\/composer\/vendor\/laravel\/installer\/bin\/laravel \/usr\/bin\/laravel\n# laravel -V<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\/\/https:\/\/getcomposer.org\/download\/ # wget https:\/\/getc [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[333],"tags":[397],"class_list":["post-1583","post","type-post","status-publish","format-standard","hentry","category-install-deploy","tag-composer"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1583"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1583\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}