PHP code example of cyberpearuk / phpunit-skelgen

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

    

cyberpearuk / phpunit-skelgen example snippets



    /**
     * @assert (0, 0) == 0
     * @assert (0, 1) == 1
     * @assert (1, 0) == 1
     * @assert (1, 1) == 2
     */
    public function add($a, $b) {
        return $a + $b;
    }
bash
    composer global