Skip to content

Commit 26ebdb6

Browse files
committed
docs: add community health files (LICENSE, COC, CONTRIBUTING, SECURITY)
- Added MIT License. - Added Contributor Covenant Code of Conduct. - Added contribution guidelines for PHP (PSR-12) and Tailwind CSS. - Added security policy for vulnerability reporting.
1 parent 0e19073 commit 26ebdb6

4 files changed

Lines changed: 148 additions & 0 deletions

File tree

CODE_OF_CONDUCT.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
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.
28+
29+
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.
30+
31+
## Scope
32+
33+
This Code of Conduct applies within all project spaces, and it also applies when an individual is representing the project or its community in public spaces. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at aryadian003@gmail.com. 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.
38+
39+
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.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
44+
45+
[homepage]: https://www.contributor-covenant.org

CONTRIBUTING.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Contributing to Sinergi PAS
2+
3+
First off, thank you for considering contributing to Sinergi PAS! It's people like you that make Sinergi PAS such a great tool.
4+
5+
## Code of Conduct
6+
7+
By participating in this project, you are expected to uphold our [Code of Conduct](CODE_OF_CONDUCT.md).
8+
9+
## How Can I Contribute?
10+
11+
### Reporting Bugs
12+
13+
This section guides you through submitting a bug report for Sinergi PAS. Following these guidelines helps maintainers and the community understand your report, reproduce the behavior, and find related reports.
14+
15+
* **Use a clear and descriptive title** for the issue to identify the problem.
16+
* **Describe the exact steps which reproduce the problem** in as many details as possible.
17+
* **Describe the behavior you observed** after following the steps and point out what exactly is the problem with that behavior.
18+
* **Explain which behavior you expected to see instead and why.**
19+
20+
### Suggesting Enhancements
21+
22+
This section guides you through submitting an enhancement suggestion for Sinergi PAS, including completely new features and minor improvements to existing functionality.
23+
24+
* **Use a clear and descriptive title** for the issue to identify the suggestion.
25+
* **Provide a step-by-step description of the suggested enhancement** in as many details as possible.
26+
* **Describe the current behavior** and explain which behavior you expected to see instead and why.
27+
* **Explain why this enhancement would be useful** to most Sinergi PAS users.
28+
29+
### Pull Requests
30+
31+
* Fill in the pull request template.
32+
* Follow the project's coding standards.
33+
* Ensure all tests pass.
34+
* Document any new functionality.
35+
* Use clear and concise commit messages.
36+
37+
## Styleguides
38+
39+
### Git Commit Messages
40+
41+
* Use the present tense ("Add feature" not "Added feature")
42+
* Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
43+
* Limit the first line to 72 characters or less
44+
* Reference issues and pull requests liberally after the first line
45+
46+
### PHP Coding Standards
47+
48+
We follow the [PSR-12](https://www.php-fig.org/psr/psr-12/) coding standard. You can use Laravel Pint to automatically fix any style issues:
49+
50+
```bash
51+
./vendor/bin/pint
52+
```
53+
54+
### CSS Styling
55+
56+
We use **Tailwind CSS 4.0**. Please avoid writing custom CSS unless absolutely necessary. Use utility classes wherever possible to maintain consistency.
57+
58+
---
59+
60+
Thank you for your contributions!

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Arya Dian
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

SECURITY.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
Currently, the following versions of Sinergi PAS are supported with security updates:
6+
7+
| Version | Supported |
8+
| ------- | ------------------ |
9+
| 1.x | :white_check_mark: |
10+
11+
## Reporting a Vulnerability
12+
13+
If you discover a security vulnerability within Sinergi PAS, please send an e-mail to Arya Dian via **aryadian003@gmail.com**. All security vulnerabilities will be promptly addressed.
14+
15+
Please include the following in your report:
16+
17+
* **Type of issue** (e.g., SQL injection, XSS, CSRF, etc.)
18+
* **Location of the vulnerability** (e.g., URL, form field, etc.)
19+
* **Step-by-step instructions to reproduce the issue**
20+
* **A brief description of the potential impact**
21+
22+
We appreciate your help in keeping Sinergi PAS secure!

0 commit comments

Comments
 (0)