Contributing
Contributions are welcome: bug fixes, new missions, docs and translations.
Development setup
Section titled “Development setup”git clone https://github.com/nenuadrian/secret-republic-browser-based-cyber-security-rpg-v4.gitcd secret-republic-browser-based-cyber-security-rpg-v4composer installFUEL_ENV=development docker compose up -d --build --waitWith FUEL_ENV=development, FuelPHP shows full error pages, and deprecations appear inline instead of
only in the log.
Guidelines
Section titled “Guidelines”- Target PHP 8.3+ (CI runs on PHP 8.5).
composer lintmust stay free of deprecations. - Follow the existing style: tabs, FuelPHP naming (
Controller_Name::action_x,\Model\Name), and views infuel/app/views/<controller>/. - Escape user input in views with
e(). - Keep
fuel/app/db.sqlinstallable on an empty MySQL 8+ database. CI imports it through the setup wizard. - Add or update tests in
tests/Unit, and pages intests/smoke.shfor new routes. - Update the docs in
docs/src/content/docs/when behaviour or configuration changes.
Pull requests
Section titled “Pull requests”- Fork and create a branch.
- Run
composer lint && composer testand, for UI or database changes, the smoke test. - Open a PR against
masterdescribing what changed and how you tested it.
The known issues page lists gameplay bugs and rough edges that make good first contributions.
License
Section titled “License”MIT. If you use the code or assets, please link back to the repository.
