Thank you for your interest in contributing to PteroCA! We welcome contributions from everyone. Here’s how you can help:
- Search for duplicates: Before creating a new issue, please check if a similar issue already exists in our issue tracker.
- Create a new issue: If no existing issue matches your report, feel free to create a new issue. Make sure to include detailed information such as:
- A clear description of the issue
- Steps to reproduce the problem
- Expected vs. actual behavior
- Relevant logs or screenshots, if applicable
- Bug Reports: Clearly explain the problem and how to reproduce it. Include information about your environment (e.g., OS, PHP version, Pterodactyl version).
We love new ideas! If you have a feature request, follow these steps:
- Search for similar suggestions: Check our existing feature requests in the issue tracker.
- Submit a new feature request: If your idea is new, please create a new issue and label it as a "Feature Request". Describe the feature and explain its use case.
- Fork the repository: Create your own fork of the repository by clicking the "Fork" button in the top right of our GitHub repository.
- Create a new branch: Use a descriptive name for your branch. For example:
feature/add-payment-integration
orbugfix/fix-user-auth
. - Make changes: Add your code, following our coding standards:
- Follow PSR-12 for PHP.
- Write clear, concise code with comments where necessary.
- Write tests for your code whenever possible.
- Commit your changes: Write meaningful and descriptive commit messages.
- Push to your fork: Push the changes from your local repository to your fork on GitHub.
- Submit a pull request: From your forked repository, click the “New Pull Request” button. Ensure that your pull request is well-documented and references any issues it resolves.
- Be patient: Our maintainers will review your pull request as soon as possible. We may ask you to make additional changes.
- Tests: Ensure your pull request passes all tests before submission. Use PHPUnit for testing the PHP code.
- Constructive Feedback: If your pull request is rejected, don’t be discouraged. We will provide constructive feedback to help you improve.
- Be respectful: We value a welcoming, respectful, and inclusive community. Disrespectful or inappropriate behavior will not be tolerated.
- Collaboration: Help fellow contributors by reviewing pull requests and participating in discussions.
- Support: For usage or configuration questions, please refer to our Documentation and the Discord Support Server.
-
Clone the repository:
git clone https://github.com/pteroca-com/panel.git cd panel
-
Install dependencies: Make sure you have Composer installed. Run:
composer install
-
Set up the environment: Create a
.env.local
file from.env.example
and configure your database and environment variables:cp .env.example .env.local
-
Run migrations:
php bin/console doctrine:migrations:migrate
-
Start developing!
We want PteroCA to be accessible to users all over the world. If you're interested in helping translate PteroCA into more languages, you can contribute via our Crowdin page. No coding skills are required—just your language expertise!
By contributing to PteroCA, you agree that your contributions will be licensed under the MIT License.