Provide an install script for a Doctrine's AnnotationReader in Mouf Framework.

v1.2.0 2015-02-11 14:36 UTC

This package is auto-updated.

Last update: 2024-06-15 03:57:29 UTC


Doctrine's Annotations for Mouf framework

Provides an install script for Doctrine's AnnotationReader in Mouf Framework.

Content of the package

This package contains an install script that provides a Doctrine's AnnotationReader instance in a Mouf project.

This instance is called annotationReader.

By default, it is configured as the following:

  • You don't have to register annotations using the AnnotationRegistry. Indeed, the autoloader of Composer is directly used and therefore, any class accessible through Composer can be a valid Annotation.
  • The annotation reader stored in annotationReader instance requires annotations to exist. It will throw an exception if an annotation is not found.
  • Annotations must be fully qualified.


To install the package, just add its latest version to your composer.json (see the package in the packagist website) adn run the php composer.phar update.

Then in Mouf validation process, a new task should be marked as To run, launch the installation process and you will have your annotationReader instance ready to use!