phpdoc - Best way to write contributions header in php and all available tags like @author -


enter image description here

i working on github project https://github.com/qzoke/isbn-converter want create nice contribution header. here questions :

  1. all variables or whatever @author available.

few know are:

@author @license @version @package @subpackage 
  1. best way showcase values like

few use

@author www.website.com 

few use

@author name<email> 

and

@author name. 
  1. how , should name package , sub package. subpackage confusing , no idea if should use file name in subpackage or same package name.

  2. is ok write description, keyword, contribution in there.

  3. what's best way reference license, name (like gnu gpl v3.0) or name+weblink or link local copy or copy of whole license text.

  4. and files should have such header , index.php , or header.php or every other.

  5. and include in html commenting , if any.

according https://phpdoc.org/ documentation there number of tags recognised phpdocumentor listed @ https://phpdoc.org/docs/latest/index.html.

example source https://phpdoc.org/docs/latest/references/phpdoc/tags/author.html

syntax: @author [name] [<email address>]

the @author tag can used indicate has created structural elements or has made significant modifications them. tag may contain e-mail address. if e-mail address provided must follow author’s name , contained in chevrons, or angle brackets, , must adhere syntax defined in section 3.4.1 of rfc5322.

all points can answered using documentation of phpdoc.

few more phpdoc tags :

@abstract @access @author @copyright @deprecated @deprec @example @exception @global @ignore @internal @license @link @name @magic @package @param @return @see @since @static @staticvar @subpackage @throws @todo @var @version 

you can find more in https://en.wikipedia.org/wiki/phpdoc


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -