Skip to content

Commit c2df962

Browse files
committed
Add funding, issue templates, linter configuration, and code of conduct.
1 parent e0a98d4 commit c2df962

File tree

9 files changed

+241
-12
lines changed

9 files changed

+241
-12
lines changed

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
github: [terabytesoftw]
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: 🐛 Bug Report
3+
description: Let us know about problem
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
> ⚠️ DON'T CREATE SECURITY ISSUE here. For security vulnerabilities, please use the security advisory feature in the specific project repository instead.
9+
- type: textarea
10+
id: description
11+
attributes:
12+
label: Description
13+
description: Provide a detailed description of the issue. Include all relevant information to help us understand and reproduce the problem.
14+
validations:
15+
required: true
16+
- type: input
17+
id: package-version
18+
attributes:
19+
label: Package version
20+
description: Specify the exact package version you're using
21+
placeholder: "0.1.0"
22+
validations:
23+
required: true
24+
- type: input
25+
id: php-version
26+
attributes:
27+
label: PHP version
28+
description: Specify the exact PHP version you're using (run `php -v` to check)
29+
placeholder: "8.5.0"
30+
validations:
31+
required: true
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: 🚀 Feature request
3+
description: Suggest an idea for improvement
4+
body:
5+
- type: textarea
6+
attributes:
7+
label: Proposed new feature or change
8+
description: |
9+
Describe the feature and explain why it's needed.
10+
validations:
11+
required: true

.github/linters/actionlint.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
paths:
3+
.github/workflows/**/*.{yml,yaml}:
4+
ignore:
5+
- '"pull_request" section is alias node but mapping node is expected'
6+
- '"push" section is alias node but mapping node is expected'
7+
- "section is alias node but mapping node is expected"

.github/workflows/linter.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
on:
3+
- pull_request
4+
- push
5+
6+
name: linter
7+
8+
permissions:
9+
checks: write
10+
contents: read
11+
statuses: write
12+
13+
jobs:
14+
linter:
15+
uses: yii2-framework/actions/.github/workflows/super-linter.yml@v1
16+
secrets:
17+
AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# codecoverage (if present)
2+
code_coverage
3+
4+
# codeception (if present)
5+
c3.php
6+
7+
# composer
8+
composer.lock
9+
10+
# gitHub copilot config (if present)
11+
.github/agents/**
12+
.github/copilot-instructions.md
13+
.github/copilot/**
14+
.github/instructions/**
15+
.github/prompts/**
16+
.github/skills/**
17+
18+
# mac ds_store (if present)
19+
.DS_Store
20+
21+
# netbeans project (if present)
22+
nbproject
23+
24+
# node_modules (if present)
25+
node_modules
26+
package-lock.json
27+
28+
# phpstorm project (if present)
29+
.idea
30+
31+
# phpunit (if present)
32+
.phpunit.cache
33+
.phpunit.result.cache
34+
phpunit.xml*
35+
36+
# vagrant (if present)
37+
.vagrant
38+
39+
# vendor
40+
vendor
41+
42+
# vscode project (if present)
43+
.vscode
44+
45+
# windows thumbnail cache (if present)
46+
Thumbs.db
47+
48+
# zend studio for eclipse project (if present)
49+
.buildpath
50+
.project
51+
.settings

CODE_OF_CONDUCT.md

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
# Code of Conduct
2+
3+
## Our Pledge
4+
5+
As contributors and maintainers of this project, and in order to keep community open and welcoming, we ask to
6+
respect all community members.
7+
8+
## Our Standards
9+
10+
Examples of behavior that contributes to a positive environment for our community include:
11+
12+
- Demonstrating empathy and kindness toward other people
13+
- Being respectful of differing opinions, viewpoints, and experiences
14+
- Giving and gracefully accepting constructive feedback
15+
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
16+
- Focusing on what is best not just for us as individuals, but for the overall community
17+
18+
Examples of unacceptable behavior by participants include:
19+
20+
- The use of sexualized language or imagery, and sexual attention or advances of any kind
21+
- Trolling, insulting or derogatory comments, and personal or political attacks
22+
- Public or private harassment
23+
- Publishing others' private information, such as a physical or email address, without their explicit permission
24+
- Other conduct which could reasonably be considered inappropriate in a professional setting
25+
26+
## Enforcement Responsibilities
27+
28+
Core team members are responsible for clarifying and enforcing our standards of acceptable behavior and will take
29+
appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive,
30+
or harmful.
31+
32+
Core team members have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits,
33+
issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for
34+
moderation decisions when appropriate.
35+
36+
## Scope
37+
38+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing
39+
the community in public spaces. Examples of representing a project or community include using an official email
40+
address, posting via an official social media account, within project GitHub, official forum or acting as an appointed
41+
representative at an online or offline event.
42+
43+
## Enforcement
44+
45+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting core team members. All
46+
complaints will be reviewed and investigated promptly and fairly.
47+
48+
All core team members are obligated to respect the privacy and security of the reporter of any incident.
49+
50+
## Enforcement Guidelines
51+
52+
Core team members will follow these Community Impact Guidelines in determining the consequences for any action they
53+
deem in violation of this Code of Conduct:
54+
55+
### 1. Correction
56+
57+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in
58+
the community.
59+
60+
**Consequence**: A private, written warning from core team members, providing clarity around the nature of the violation
61+
and an explanation of why the behavior was inappropriate. A public apology may be requested.
62+
63+
### 2. Warning
64+
65+
**Community Impact**: A violation through a single incident or series of actions.
66+
67+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including
68+
unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding
69+
interactions in community spaces as well as external channels like social media. Violating these terms may lead to
70+
a temporary or permanent ban.
71+
72+
### 3. Temporary Ban
73+
74+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
75+
76+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified
77+
period of time. No public or private interaction with the people involved, including unsolicited interaction with those
78+
enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
79+
80+
### 4. Permanent Ban
81+
82+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate
83+
behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
84+
85+
**Consequence**: A permanent ban from any sort of public interaction within the community.
86+
87+
## Attribution
88+
89+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at
90+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
91+
92+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
93+
94+
For answers to common questions about this code of conduct, see the FAQ at
95+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
96+
[https://www.contributor-covenant.org/translations][translations].
97+
98+
[homepage]: https://www.contributor-covenant.org
99+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
100+
[Mozilla CoC]: https://github.com/mozilla/diversity
101+
[FAQ]: https://www.contributor-covenant.org/faq
102+
[translations]: https://www.contributor-covenant.org/translations

PULL_REQUEST_TEMPLATE.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Pull Request
2+
3+
| Q | A |
4+
| ------------ | ------------------------------------------------------------------ |
5+
| Is bugfix? | ✔️/❌ |
6+
| New feature? | ✔️/❌ |
7+
| Breaks BC? | ✔️/❌ |
8+
| Fixed issues | <!-- comma-separated list of tickets # fixed by the PR, if any --> |

profile/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,41 +7,41 @@
77

88
## 🌟 Key Features
99

10-
* **✅ PSR-7 / PSR-17 Compatibility:** Full interoperability with modern middleware.
11-
* **🚀 Async Runtime:** Native support for application servers like **RoadRunner** and **FrankenPHP**.
12-
* **🛡️ Static Analysis:** First-class support for **PHPStan** (Level 9).
10+
- **✅ PSR-7 / PSR-17 Compatibility:** Full interoperability with modern middleware.
11+
- **🚀 Async Runtime:** Native support for application servers like **RoadRunner** and **FrankenPHP**.
12+
- **🛡️ Static Analysis:** First-class support for **PHPStan** (Level 9).
1313

1414
## 📦 Featured Packages
1515

1616
### [App Basic](https://github.com/yii2-extensions/app-basic) A project template rewritten and modernized using Bootstrap 5, Docker, and 2025 best practices.
1717

18-
* *Keywords: Yii2 App Basic, Bootstrap 5, Docker, Modern PHP*
18+
- _Keywords: Yii2 App Basic, Bootstrap 5, Docker, Modern PHP_
1919

2020
### [PHPStan Integration](https://github.com/yii2-extensions/phpstan) Seamless integration of PHPStan static analysis into your Yii2 projects.
2121

22-
* *Keywords: Yii2 PHPStan, Static Analysis, Code Quality*
22+
- _Keywords: Yii2 PHPStan, Static Analysis, Code Quality_
2323

2424
### [FrankenPHP Integration](https://github.com/yii2-extensions/franken-php)
2525

2626
Supercharge your application with the modern PHP app server written in Go.
2727

28-
* *Keywords: Yii2 FrankenPHP, Async PHP, High Performance*
28+
- _Keywords: Yii2 FrankenPHP, Async PHP, High Performance_
2929

3030
### [Road Runner Integration](https://github.com/yii2-extensions/road-runner) High-performance PHP application server, load balancer, and process manager integration.
3131

32-
* *Keywords: Yii2 RoadRunner, Async PHP, High Performance*
32+
- _Keywords: Yii2 RoadRunner, Async PHP, High Performance_
3333

3434
## 🤝 Community & Support
3535

3636
This project is part of the **[yii2-framework](https://github.com/yii2-framework)** community, maintained by [mtangoo](https://github.com/mtangoo) and [@terabytesoftw](https://github.com/terabytesoftw).
3737

38-
* **Need help?** Open a discussion in the repositories.
39-
* **Want to contribute?** Submit a PR.
38+
- **Need help?** Open a discussion in the repositories.
39+
- **Want to contribute?** Submit a PR.
4040

41-
-----
41+
---
4242

4343
<div align="center">
4444
<a href="https://github.com/sponsors/terabytesoftw">
45-
<img src="https://img.shields.io/badge/Sponsor-Click%20Here-pink?style=for-the-badge&logo=github-sponsors" alt="Sponsor Yii2 Extensions on GitHub" height="40" />
45+
<img src="https://img.shields.io/badge/Sponsor-Click%20Here-pink?style=for-the-badge&logo=github-sponsors" height="40" alt="Sponsor on GitHub"/>
4646
</a>
47-
</div>
47+
</div>

0 commit comments

Comments
 (0)