PHP code example of webit-de / php-version-pickup

1. Go to this page and download the library: Download webit-de/php-version-pickup library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

webit-de / php-version-pickup example snippets

bash
  cd ~/
  git clone https://github.com/webit-de/php-version-pickup.git .php-version-pickup
  
bash
  echo 'source $HOME/.php-version-pickup/bin/php-version-pickup.sh' >> $HOME/.bashrc
  
bash
  source $HOME/.php-version-pickup/bin/php-version-pickup.sh # or your place of choice
  
bash
php-version-pickup set 7.4