Developers
Contributing to Leantime
Leantime is open source, and contributions of every kind help: reporting a bug, translating, improving these docs, answering someone’s question, or writing code.
How can I help without writing code?
Section titled “How can I help without writing code?”- Report a bug. Open an issue on GitHub. Say what you did, what you expected and what happened instead, and include your Leantime version, how you installed it, and any lines from
storage/logs/. - Translate Leantime. Translations are managed on Crowdin, not through pull requests, so they stay in sync.
- Improve the docs. These pages live in the Leantime/docs repository. Every change goes through a pull request, so you can fix a typo or add a missing step right on GitHub.
- Help others in the community chat. It’s also the quickest place to ask questions while you get started.
Found a security issue? Don’t report it in public. Follow the security policy instead.
How do I contribute code?
Section titled “How do I contribute code?”- Set up Leantime for development (see Development setup).
- Fork the repository and create a branch from
master:feature/your-feature,fix/what-you-fixedordocs/what-you-documented. - Make your change, with tests for anything new. Code style is checked with Laravel Pint;
make fix-code-stylefixes most issues. - Check it before you open the pull request:
make test-code-stylemake phpstanmake unit-test- Open a pull request against
master. Add screenshots for anything that changes the interface. - Sign the Contributor License Agreement when the bot asks, on your first pull request.
The contributing guide in the repository has the details, including naming conventions. For bigger changes, ask in the community chat first, so you know the direction fits before you put in the time.
Where do I start in the code?
Section titled “Where do I start in the code?”- Development setup: run Leantime locally with Docker or on your own machine
- Plugin development: build a plugin instead of changing core
- Event hooks and filters: extend Leantime without touching its code
- API: build on Leantime from outside
Was this page helpful?
Thanks, glad it helped.
Thanks for telling us. What was missing?
