如何在mac上安装composer(How to install composer on the Mac)

  1. Change into a directory in your path like cd /usr/local/bin

  2. Get Composer curl -sS https://getcomposer.org/installer | php

  3. Make the phar executable chmod a+x composer.phar

  4. Change into a project directory cd /path/to/my/project

  5. Use Composer as you normally would composer.phar install

  6. Optionally you can rename the composer.phar to composer to make it easier

  if storage permission denied

  You can input command that

  1、find storage -type d -exec chmod 777 {} \;

  2、find storage -type f -exec chmod 777 {} \;

上一篇:定期清理WordPress的文章修订版本


下一篇:集合运算符之全集、交集、补集【weber出品必属精品】