PHP code example of daaquan / php-markdown-documentation-generator

1. Go to this page and download the library: Download daaquan/php-markdown-documentation-generator 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/ */

    

daaquan / php-markdown-documentation-generator example snippets


namespace Acme;

/**
 * This is a description of this class
 */
class MyObject {
   
   /**
    * This is a function description
    * @param string $str
    * @param array $arr
    * @return Acme\OtherObject
    */
   function someFunc($str, $arr=array()) {
   
   }
}

$ composer global 

- src/
  - MyObject.php
  - OtherObject.php