# Extension template

> Starter repository for a Yii2 22\.0 extension, with PHPUnit, PHPStan, Infection, ECS, GitHub Actions workflows and Codecov configured\.

- Package: yii2\-extensions/template
- Collection: Yii2 Extensions
- Topic: Build your own extension
- Tags: template, starter, phpunit, phpstan, infection, github-actions
- Kind: template
- Relationship: Site curator ([evidence](<https://github.com/yii2-extensions/template/blob/46811d6f55888cae59390df93ff49e7a472c61e3/composer.json>))
- Maintainer: [@terabytesoftw](<https://github.com/terabytesoftw>)
- PHP requirement: &gt;=8\.3
- License: BSD\-3\-Clause
- On this site: guide, API reference

## Documentation on this site

- [Overview](</docs/extensions/template/index.md>)
- [Installation guide](</docs/extensions/template/installation/index.md>)
- [Configuration guide](</docs/extensions/template/configuration/index.md>)
- [Usage examples](</docs/extensions/template/examples/index.md>)
- [Testing](</docs/extensions/template/testing/index.md>)
- [API reference](</docs/extensions/template/reference/index.md>)

## Compatibility

- Yii2: ^22\.0@dev ([composer\.json at this commit](<https://github.com/yii2-extensions/template/blob/46811d6f55888cae59390df93ff49e7a472c61e3/composer.json>))

Requirements are recorded from the linked source revision. A catalog listing does not verify an application's dependency resolution or runtime behavior.

## Source and version

- Source revision: [46811d6f55888cae59390df93ff49e7a472c61e3](<https://github.com/yii2-extensions/template/blob/46811d6f55888cae59390df93ff49e7a472c61e3/composer.json>)
- Reference inspected: main
- Metadata reviewed: 2026-10-25

This is a source snapshot. A released package version and release stability have not been established for this record. Development constraints such as @dev remain explicit.

## Links

- [Documentation](</docs/extensions/template/index.md>)
- [Repository](<https://github.com/yii2-extensions/template>)
- [Package catalog](</docs/packages/index.md>)
