An annotation library for PHP
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
src/phannotation
test/phannotation
.gitignore
.travis.yml
Autoload.php
LICENSE.txt
README.md
phpunit.xml

README.md

Phannotation

Build Status

An annotation library for PHP. For an example how to use the library look at the phpunit-test PhannotationTest.php. I started this little project on April, 5th. Don't expect too much of it, yet! :)

Features

Class Annotations

not implemented yet

Method Annotations

Phannotation currently supports four kinds of annotations:

  • Annotations without value:
/**
 * @without
 */
  • Simple value annotations:
/**
 * @simple("someValue")
 */
  • Array annotations:
/**
 * @array(["value1", "value2"])
 */
  • Complex annotations:
/**
 * @complex({"key1":"value1","key2":"value2"})
 */