PHP code example of aklump / phpswap

1. Go to this page and download the library: Download aklump/phpswap 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/ */

    

aklump / phpswap example snippets

shell
mkdir foo
cd foo
composer init
composer  echo"
./vendor/bin/phpswap use 8.1 "php -v; echo"