Skip to content
framework6 active rulesVerified 2026-09-30

Yii .gitignore Template

Standard Yii gitignore template from upstream github/gitignore collection. Generated and merged deterministically with upstream GitHub repository patterns to keep your repository clean of package directories, temporary build artifacts, and local environment files.

Interactive Stack Generator

Preconfigured with Yii
Search for templates
Quick add:
Selected1
Yii
Selected Templates (1)
.gitignore
6 rules
### Yii ###
assets/*
!assets/.gitignore
protected/runtime/*
!protected/runtime/.gitignore
protected/data/*.db
themes/classic/views/
8 lines•UTF-8
Deterministic

Raw Yii .gitignore

Crawlable upstream source template
yii.gitignore•7 lines•UTF-8
assets/*
!assets/.gitignore
protected/runtime/*
!protected/runtime/.gitignore
protected/data/*.db
themes/classic/views/

Key Pattern Breakdown

Core Ignored Rules

Primary upstream ignore rules defined for this technology.

assets/*!assets/.gitignoreprotected/runtime/*!protected/runtime/.gitignoreprotected/data/*.dbthemes/classic/views/

Source & Verification

License: CC0-1.0

Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.