PHP code example of stephanbouman / code-of-conduct

1. Go to this page and download the library: Download stephanbouman/code-of-conduct 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/ */

    

stephanbouman / code-of-conduct example snippets

  
$code = new \Stephanbouman\CodeOfConduct\CodeOfConduct();
echo $code->getRule(); // generates a random rule