download-box.sh 197 B

12345
  1. #!/usr/bin/env bash
  2. if [ ! -f box.phar ]; then
  3. wget https://github.com/box-project/box/releases/download/$(php -r 'echo PHP_VERSION_ID >= 70300 ? "3.11.0" : "3.9.1";')/box.phar -O box.phar
  4. fi