PHP Classes

File: scripts/composer.sh

Recommend this page to a friend!
  Classes of Niko   React PHP Session Middleware using Redis   scripts/composer.sh   Download  
File: scripts/composer.sh
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: React PHP Session Middleware using Redis
Store session data in Redis using React PHP
Author: By
Last change:
Date: 5 years ago
Size: 513 bytes
 

Contents

Class file image Download
#!/bin/sh EXPECTED_SIGNATURE="$(wget -q -O - https://composer.github.io/installer.sig)" php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" ACTUAL_SIGNATURE="$(php -r "echo hash_file('sha384', 'composer-setup.php');")" if [ "$EXPECTED_SIGNATURE" != "$ACTUAL_SIGNATURE" ] then >&2 echo 'ERROR: Invalid installer signature' rm composer-setup.php exit 1 fi php composer-setup.php --quiet --filename="composer" --install-dir="/usr/bin" RESULT=$? rm composer-setup.php exit $RESULT