Skip to content

php-library-league/shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell

This repo represents PHP Library shell scripts.

How to Run

Clone this repository to the root of PHP Library. Before running certain shell script, consult documentation.

List of Available Scripts

Auto Test

  • File: auto-test.sh
  • Arguments: None
  • Description: Run automatic tests
  • Requirements: Composer vendors updated and outsource folder downloaded and unzipped
# Get help
bash shell/auto-test.sh -h

# Run script
bash shell/auto-test.sh

⬆ back to top

PHP Extensions

  • File: php-extensions.sh
  • Arguments: php-version
  • Description: Install necessary PHP extensions for PHP Library
  • Requirements: Installed version of PHP to be passed as an argument
# Get help
bash shell/php-extensions.sh -h

# Run script
bash shell/php-extensions.sh [php-version]

You'll have to pass PHP version as an argument.

# Example how to runn script for PHP 7.4
bash shell/php-extensions.sh 7.4

⬆ back to top

Outsource Install

  • File: outsource-install.sh
  • Arguments: main-version (optional)
  • Description: Install outsource folder for PHP Library
  • Requirements: Composer installed on machine
# Get help
bash shell/outsource-install.sh -h

# Run script
bash shell/outsource-install.sh

Optionally you may pass version of outsource folder.

# Example how to runn script for version 1.1.0
bash shell/outsource-install.sh 1.1.0

⬆ back to top