Skip to content
Public template

About

Extension template for Yii2 22.0: PHPUnit, PHPStan, Infection, ECS, GitHub Actions CI/CD, and Codecov out of the box.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Repository files navigation

Yii Framework

Template


PHPUnit Mutation Testing PHPStan Security

A Yii2 extension template to create your own Yii2 extensions
PHPUnit, PHPStan, Infection, ECS, and GitHub Actions ready out of the box

Features

Feature Overview

Quick start

Installation

composer require github_username/github_repository-name "yiisoft/yii2:^22.0@dev"

Basic usage

Describe how to use your extension in a basic way.

use yii\template\Example;

$example = new Example();

$legacy = $example->getExample(true);

Documentation

The guides and the API reference generated from the PHPDoc in src/ are published at https://yii2-framework.github.io/docs/extensions/template/.

AI agents: read https://yii2-framework.github.io/docs/llms.txt, the index of the documentation site, and fetch the Markdown version of a page by appending index.md to its URL, for example https://yii2-framework.github.io/docs/extensions/template/installation/index.md. For the Yii conventions this package builds on, install the yii2-framework skill through the shared Composer setup.

Package information

PHP Yii 22.0.x

Project status

Codecov PHPStan Level Max Quality StyleCI

Our social networks

Follow on X Follow on Facebook Join our Subreddit Join on Telegram

License

License

About

Extension template for Yii2 22.0: PHPUnit, PHPStan, Infection, ECS, GitHub Actions CI/CD, and Codecov out of the box.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages