Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
1e1e075
First implementation
vjik Dec 28, 2025
3a7e180
Fix `ServiceProvider` + Update dependencies (#3)
vjik Dec 28, 2025
b57cf5f
Bump symfony/console from 8.0.1 to 8.0.3 (#4)
dependabot[bot] Jan 5, 2026
c217e52
Bump friendsofphp/php-cs-fixer from 3.92.3 to 3.92.4 (#5)
dependabot[bot] Jan 7, 2026
7ee3107
Bump friendsofphp/php-cs-fixer from 3.92.4 to 3.92.5 (#7)
dependabot[bot] Jan 9, 2026
073758b
Bump yiisoft/error-handler from 4.3.1 to 4.3.2 (#8)
dependabot[bot] Jan 9, 2026
0f5ad10
Bump rector/rector from 2.3.0 to 2.3.1 (#9)
dependabot[bot] Jan 14, 2026
44769b9
Bump codeception/codeception from 5.3.3 to 5.3.4 (#10)
dependabot[bot] Jan 15, 2026
0d3d9dc
Bump phpunit/phpunit from 12.5.4 to 12.5.5 (#11)
dependabot[bot] Jan 16, 2026
5607cd7
Bump phpunit/phpunit from 12.5.5 to 12.5.6 (#12)
dependabot[bot] Jan 19, 2026
bcad248
Bump rector/rector from 2.3.1 to 2.3.2 (#13)
dependabot[bot] Jan 20, 2026
a2b2237
Bump rector/rector from 2.3.2 to 2.3.3 (#14)
dependabot[bot] Jan 21, 2026
d88a036
Bump rector/rector from 2.3.3 to 2.3.4 (#15)
dependabot[bot] Jan 22, 2026
f701795
Fix "user.auth_key" column length in DB (#16)
vjik Jan 24, 2026
25838ac
Bump yiisoft/view from 12.2.2 to 12.2.3 (#21)
dependabot[bot] Jan 26, 2026
f76fa7e
Bump symfony/console from 8.0.3 to 8.0.4 (#20)
dependabot[bot] Jan 26, 2026
8d3a832
Bump friendsofphp/php-cs-fixer from 3.92.5 to 3.93.0 (#19)
dependabot[bot] Jan 26, 2026
7710cc7
Bump codeception/module-phpbrowser from 3.0.2 to 4.0.0 (#18)
dependabot[bot] Jan 26, 2026
e9ea00c
Bump phpunit/phpunit from 12.5.6 to 12.5.7 (#17)
dependabot[bot] Jan 26, 2026
fb45dd3
Bump phpunit/phpunit from 12.5.7 to 12.5.8 (#22)
dependabot[bot] Jan 27, 2026
8f10a4d
Bump friendsofphp/php-cs-fixer from 3.93.0 to 3.93.1 (#25)
dependabot[bot] Jan 29, 2026
62ff52e
Bump rector/rector from 2.3.4 to 2.3.5 (#24)
dependabot[bot] Jan 29, 2026
86cf410
Bump yiisoft/request-provider from 1.2.0 to 1.3.0 (#26)
dependabot[bot] Jan 30, 2026
4a6e2fa
Bump vimeo/psalm from 6.14.3 to 6.15.0 (#27)
dependabot[bot] Feb 2, 2026
019c96a
Bump phpunit/phpunit from 12.5.8 to 12.5.9 (#28)
dependabot[bot] Feb 5, 2026
5f600d1
Bump rector/rector from 2.3.5 to 2.3.6 (#30)
dependabot[bot] Feb 9, 2026
37bf40c
Bump vimeo/psalm from 6.15.0 to 6.15.1 (#29)
dependabot[bot] Feb 9, 2026
f9143e2
Bump yiisoft/db from 2.0.0 to 2.0.1 (#31)
dependabot[bot] Feb 10, 2026
ff00e54
Bump friendsofphp/php-cs-fixer from 3.93.1 to 3.94.0 (#32)
dependabot[bot] Feb 12, 2026
0d647a6
Bump codeception/codeception from 5.3.4 to 5.3.5 (#33)
dependabot[bot] Feb 18, 2026
d1f8666
Bump friendsofphp/php-cs-fixer from 3.94.0 to 3.94.1 (#34)
dependabot[bot] Feb 19, 2026
ed16423
Update composer dependencies (#37)
vjik Feb 20, 2026
d0c7186
Bump rector/rector from 2.3.7 to 2.3.8 (#39)
dependabot[bot] Feb 23, 2026
5e1b0d8
Bump friendsofphp/php-cs-fixer from 3.94.1 to 3.94.2 (#40)
dependabot[bot] Feb 23, 2026
610ee7c
Update Yii Data Response and Yii View Renderer (#35)
vjik Feb 24, 2026
07763ec
Bump symfony/console from 8.0.4 to 8.0.6 (#43)
dependabot[bot] Feb 26, 2026
d9d1489
Bump yiisoft/active-record from 1.0.0 to 1.0.1 (#44)
dependabot[bot] Mar 3, 2026
675115b
Bump symfony/console from 8.0.6 to 8.0.7 (#45)
dependabot[bot] Mar 9, 2026
30af5e0
Bump yiisoft/active-record from 1.0.1 to 1.0.2 (#46)
dependabot[bot] Mar 11, 2026
828ac2d
Bump rector/rector from 2.3.8 to 2.3.9 (#48)
dependabot[bot] Mar 16, 2026
424b2ca
Bump yiisoft/html from 3.12.0 to 3.13.0 (#47)
dependabot[bot] Mar 16, 2026
3f5678e
Bump vimeo/psalm from 6.15.1 to 6.16.0 (#49)
dependabot[bot] Mar 17, 2026
61f56e5
Bump yiisoft/form from 1.5.1 to 1.5.2 (#56)
dependabot[bot] Mar 21, 2026
475c2fd
Bump vimeo/psalm from 6.16.0 to 6.16.1 (#53)
dependabot[bot] Mar 21, 2026
12e425a
Bump yiisoft/yii-view-renderer from 7.4.0 to 7.4.1 (#52)
dependabot[bot] Mar 21, 2026
907710c
Bump phpunit/phpunit from 13.0.5 to 13.0.6 (#60)
dependabot[bot] Mar 31, 2026
e9e9147
Bump symfony/console from 8.0.7 to 8.0.8 (#61)
dependabot[bot] Apr 1, 2026
b5afa48
Use htmx for users list GridView (#54)
vjik Apr 2, 2026
1e2de11
Update composer deps (#62)
vjik Apr 2, 2026
b667c8e
Bump rector/rector from 2.3.9 to 2.4.0 (#64)
dependabot[bot] Apr 7, 2026
7ca1a8f
Bump rector/rector from 2.4.0 to 2.4.1 (#65)
dependabot[bot] Apr 8, 2026
9a574a9
Bump friendsofphp/php-cs-fixer from 3.94.2 to 3.95.1 (#66)
dependabot[bot] Apr 13, 2026
c8c924c
Bump rector/rector from 2.4.1 to 2.4.2 (#67)
dependabot[bot] Apr 18, 2026
ecffcef
Fix CS GitHub Action (#69)
vjik May 1, 2026
7e96994
Bump symfony/console from 8.0.8 to 8.0.9 (#68)
dependabot[bot] May 1, 2026
8a39cc5
Merge branch 'github:main' into master
janihagg May 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.yml]
indent_size = 2
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
APP_ENV=dev
APP_DEBUG=true
34 changes: 34 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Autodetect text files
* text=auto eol=lf

# ...Unless the name matches the following overriding patterns

# Definitively text files
*.php text
*.css text
*.js text
*.txt text
*.md text
*.xml text
*.json text
*.bat text
*.sql text
*.yml text

# Ensure those won't be messed up with
*.png binary
*.jpg binary
*.gif binary
*.ttf binary

# Ignore some meta files when creating an archive of this repository
/.github export-ignore
/.gitattributes export-ignore
/LICENSE.md export-ignore
/README.md export-ignore
/composer.lock export-ignore

# Avoid merge conflicts in CHANGELOG
# https://about.gitlab.com/2015/02/10/gitlab-reduced-merge-conflicts-by-90-percent-with-changelog-placeholders/
/CHANGELOG.md merge=union

67 changes: 67 additions & 0 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Yii Contributor Code of Conduct

## Our Pledge

As contributors and maintainers of this project, and in order to keep Yii community open and welcoming, we ask to respect all community members.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Personal attacks
* Trolling or insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing other's private information, such as physical or electronic
addresses, without explicit permission
* Other conduct which could reasonably be considered inappropriate in
a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in response
to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments,
commits, code, wiki edits, issues, and other contributions that are not aligned to this
Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors
that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when
an individual is representing the project or its community. Examples of representing
a project or community include posting via an official social media account,
within project GitHub, official forum or acting as an appointed representative at
an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported
by contacting core team members. All complaints will be reviewed and investigated
and will result in a response that is deemed necessary and appropriate to the circumstances.
The project team is obligated to maintain confidentiality with regard to the reporter of
an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith
may face temporary or permanent repercussions as determined by other members of
the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 1.4.0, available at
[https://contributor-covenant.org/version/1/4/][version]

[homepage]: https://contributor-covenant.org
[version]: https://contributor-covenant.org/version/1/4/
23 changes: 23 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Prerequisites

- [Yii goal and values](https://github.com/yiisoft/docs/blob/master/001-yii-values.md)
- [Namespaces](https://github.com/yiisoft/docs/blob/master/004-namespaces.md)
- [Git commit messages](https://github.com/yiisoft/docs/blob/master/006-git-commit-messages.md)
- [Exceptions](https://github.com/yiisoft/docs/blob/master/007-exceptions.md)
- [Interfaces](https://github.com/yiisoft/docs/blob/master/008-interfaces.md)

# Getting started

Since Yii 3 consists of many packages, we have a [special development tool](https://github.com/yiisoft/docs/blob/master/005-development-tool.md).

1. [Clone the repository](https://github.com/yiisoft/yii-dev-tool).

2. [Set up your own fork](https://github.com/yiisoft/yii-dev-tool#using-your-own-fork).

3. Now you are ready. Fork any package listed in `packages.php` and do `./yii-dev install username/package`.

If you don't have any particular package in mind to start with:

- [Check roadmap](https://github.com/yiisoft/docs/blob/master/003-roadmap.md).
- Check package issues at github. Usually there are some.
- Ask @samdark.
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These are supported funding model platforms

open_collective: yiisoft
github: [yiisoft]
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@


### What steps will reproduce the problem?

### What is the expected result?

### What do you get instead?


### Additional info

| Q | A
| ---------------- | ---
| Version | 1.0.?
| PHP version |
| Operating system |
6 changes: 6 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
| Q | A
| ------------- | ---
| Is bugfix? | ✔️/❌
| New feature? | ✔️/❌
| Breaks BC? | ✔️/❌
| Fixed issues | comma-separated list of tickets # fixed by the PR, if any
6 changes: 6 additions & 0 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Security Policy

Please use the [security issue form](https://www.yiiframework.com/security) to report to us any security issue you
find in Yii. DO NOT use the issue tracker or discuss it in the public forum as it will cause more damage than help.

Please note that as a non-commercial OpenSource project we are not able to pay bounties at the moment.
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions.
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
# Too noisy. See https://github.community/t/increase-if-necessary-for-github-actions-in-dependabot/179581
open-pull-requests-limit: 0

# Maintain dependencies for Composer
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "daily"
versioning-strategy: increase-if-necessary
77 changes: 77 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'psalm.xml'

push:
branches: ['master']
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'psalm.xml'

name: build

jobs:
codeception:
name: PHP ${{ matrix.php }}-${{ matrix.os }}

env:
key: cache-v1
APP_C3: true
APP_ENV: test
APP_DEBUG: false

runs-on: ${{ matrix.os }}

strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
php:
- "8.5"

steps:
- name: Checkout.
uses: actions/checkout@v4

- name: Install PHP with extensions.
uses: shivammathur/setup-php@v2
with:
coverage: false
extensions: fileinfo, intl
ini-values: date.timezone='UTC', register_argc_argv=On
php-version: ${{ matrix.php }}

- name: Install Composer dependencies
uses: ramsey/composer-install@v3

- name: Run codeception build.
run: vendor/bin/codecept build

- name: Run tests with codeception with code coverage with shell bash.
if: matrix.os == 'ubuntu-latest'
run: vendor/bin/codecept run --coverage --coverage-xml --disable-coverage-php

- name: Run tests with codeception with code coverage with shell powershell.
if: matrix.os == 'windows-latest'
run: vendor/bin/codecept run
shell: powershell

- name: Upload coverage to Codecov.
if: matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: runtime/tests/_output/coverage.xml
55 changes: 55 additions & 0 deletions .github/workflows/composer-dependency-analyzer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
- 'psalm.xml'

push:
branches: ['master']
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
- 'psalm.xml'

name: Composer dependency analyzer

jobs:
analyzer:
name: PHP ${{ matrix.php }}-${{ matrix.os }}

runs-on: ${{ matrix.os }}

strategy:
matrix:
os:
- ubuntu-latest
php:
- "8.5"

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: ${{ matrix.php }}
tools: composer:v2, cs2pr

- name: Install Composer dependencies
uses: ramsey/composer-install@v3

- name: Run composer dependency analyzer
run: vendor/bin/composer-dependency-analyser --config=composer-dependency-analyser.php
44 changes: 44 additions & 0 deletions .github/workflows/cs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Code Style

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'psalm.xml'

jobs:
cs-fix:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v6

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.5
tools: composer:v2
coverage: none

- name: Install Composer dependencies
uses: "ramsey/composer-install@v4"

- name: Run PHP CS Fixer
run: ./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php

- name: Run Rector
run: ./vendor/bin/rector --output-format=github

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: "Apply PHP CS Fixer and Rector changes (CI)"
file_pattern: '*.php'
disable_globbing: true
Loading