PHP code example of dconco / phantom-php

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

    

dconco / phantom-php example snippets

bash
    pkg update
    pkg upgrade
    pkg install php
    pkg install curl
    curl -sS https://getcomposer.org/installer | php -- --install-dir=/data/data/com.termux/files/usr/bin --filename=composer
    
bash
    composer global PATH:~/.composer/vendor/bin" >> ~/.profile
    phantom --install
    phantom -v