PHP code example of willwashburn / phpunit-port-canary

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

    

willwashburn / phpunit-port-canary example snippets

XML
    <listeners>
        <listener class="\WillWashburn\PortListener" file="vendor/willwashburn/phpunit-port-canary/src/PortListener.php"/>
    </listeners>