Skip to content

Instantly share code, notes, and snippets.

@abrahamfast
Created November 27, 2016 06:07
Show Gist options
  • Save abrahamfast/e16adf0c29d3f6231f077f83f17a2e83 to your computer and use it in GitHub Desktop.
Save abrahamfast/e16adf0c29d3f6231f077f83f17a2e83 to your computer and use it in GitHub Desktop.
install compoer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === 'aa96f26c2b67226a324c27919f1eb05f21c248b987e6195cad9690d5c1ff713d53020a02ac8c217dbf90a7eacc9d141d') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment