Skip to content

Latest commit

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Yampee Annotations: a PHP library that understand annotations

What is Yampee Annotations ?

Yampee Annotations is a PHP library that parses annotations in DocBlocks comments and converts them to PHP objects.

An example ?

<?phpclass TestController
{
/** * @Route('/{page}', name = 'homepage', defaults = {}) */publicfunctionaction()
{
}
}
$reader = newYampee_Annotations_Reader();
$reader->registerAnnotation(newRouteAnnotation());
$annotations = $reader->read(array('TestController', 'action'));

But it's much more than this: discover all the possibilities in the documentation !

Documentation

The documentation is to be found in the doc/ directory.

About

Yampee Annotations is licensed under the MIT license (see LICENSE file). The Yampee Annotations library is developed and maintained by the Titouan Galopin.

About

A PHP 5.2 Annotations components, very extensible and fully tested.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages