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

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

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

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

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

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

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

 

  if storage permission deniedget

  You can input command thatinput

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

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

相關文章
相關標籤/搜索