Created
June 20, 2022 13:14
-
-
Save SpiffGreen/195b8a9ed9b0954819d111087dbccff6 to your computer and use it in GitHub Desktop.
Composer Setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
| php -r "if (hash_file('sha384', 'composer-setup.php') === 'some-long-SHA-checksum-number-goes-here') { 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