# Contributte PHPdoc

# Content

# Setup

composer require contributte/phpdoc
1

Register PhpDocExtension.

extensions:
    phpdoc: Contributte\PhpDoc\DI\PhpDocExtension
1
2

# Configuration

phpdoc:
  # ignored annotations
  ignore:
    - persistent
    - serializationVersion

  # override default cache (default is apcu if available, php file otherwise)
  cache: Doctrine\Common\Cache\ApcuCache()
1
2
3
4
5
6
7
8