PHP code example of ivuorinen / markdowndocs

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

    

ivuorinen / markdowndocs 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
    */
   public function someFunc($str, $arr=[]) {}
}

- src/
  - MyObject.php
  - OtherObject.php
shell
./vendor/bin/phpdoc-md generate --bootstrap=