2017 © Pedro Peláez
 

library docblock

Simple Docblock Parser

image

phpactor/docblock

Simple Docblock Parser

  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 32 % Grown

The README.md

Docblock Parser

DEPRECATED: See https://github.com/phpactor/docblock-parser for a better solution., (*1)

Sub-standard docblock parser., (*2)

$docblock = (new DocblockFactory())->create('/** @var Foobar */');
$vars = $docblock->tags()->byName('var');

foreach ($vars as $var) {
    $var->type();
    $var->varName();
}

Why?

There is already a standards-compliant library for PHP-Documentor, however it is coupled to the PHPDocumentor type reflection library. This library only cares about parsing docblocks badly for Phpactor., (*3)

Contributing

This package is open source and welcomes contributions! Feel free to open a pull request on this repository., (*4)

Support

  • Create an issue on the main Phpactor repository.
  • Join the #phpactor channel on the Slack Symfony Devs channel.

The Versions

28/04 2018

dev-master

9999999-dev

Simple Docblock Parser

  Sources   Download

MIT

The Development Requires