C.2 AutoloaderTask
Prev | Appendix C. Optional tasks | Next

## C.2 AutoloaderTask

The AutoloaderTask includes autoload file to bootstrap all necessary components in Phing execution context. It could be useful if build tools (e.g. phpunit, phploc etc.) are installed as Composer dependencies.

Table C.2: Attributes

Name | Type | Description | Default | Required
--- | --- | --- | --- | ---
`autoloaderpath` | `String` | Path to autoloader file | vendor/autoload.php | Yes

### C.2.1 Example

    <autoloader autoloaderpath="foo/autoload.php"/>

Prev | Up | Next
Appendix C. Optional tasks | Home | C.3 ComposerTask