Thank you for considering contributing to artisan-docs! Whether you're reporting a bug, suggesting a feature, or submitting a pull request, your help is greatly appreciated.
If you've found a bug, please open an issue and include the following:
- A clear and descriptive title.
- The Laravel and PHP versions you are running.
- Reproducible steps — the smallest set of actions that consistently trigger the bug.
- The expected behaviour and what you observed instead.
- Any relevant error messages or stack traces.
The more detail you provide, the faster the issue can be triaged and resolved.
Have an idea that would make artisan-docs more useful? Open an issue and:
- Use a clear and descriptive title prefixed with
[Feature Request]. - Explain the problem you are trying to solve and why existing behaviour does not address it.
- Describe the proposed solution or API you have in mind.
- If applicable, include examples of what the new functionality would look like.
Feature requests are reviewed and discussed openly on the issue tracker before any implementation begins.
To set up a local development environment, clone the repository and install dependencies via Composer:
git clone https://github.com/codeinstinctai/artisan-docs.git
cd artisan-docs
composer installNo additional services or environment variables are required — the package uses Orchestra Testbench to bootstrap a Laravel application for testing.
Before submitting a pull request, please ensure all tests pass and the code style is consistent.
composer testThis executes the full PHPUnit test suite via vendor/bin/phpunit, as defined in the project's composer.json.
composer lintThis runs Laravel Pint via vendor/bin/pint to automatically fix code-style issues according to the project's conventions, as defined in the project's composer.json.
Both commands must complete without errors before a pull request will be reviewed.
-
Fork the repository and create your branch from
main:git checkout -b feature/my-new-feature
Use a descriptive branch name that reflects the change (e.g.
fix/html-output-encoding,feature/csv-export-format). -
Make your changes, keeping commits focused and atomic. Write descriptive commit messages that explain why a change was made, not just what changed:
Add --namespace flag to scope HTML output to a single group Previously the --namespace filter only applied to Markdown output. This change propagates the filter through to the HTML generator so all three formats behave consistently. -
Add or update tests to cover your changes. Pull requests that reduce test coverage are unlikely to be merged.
-
Run tests and linting (see above) and confirm everything passes locally.
-
Open a pull request against the
mainbranch. In the PR description:- Reference any related issue (e.g.
Closes #42). - Summarise what changed and why.
- Include any notes on backwards compatibility or migration steps.
- Reference any related issue (e.g.
-
A maintainer will review your pull request. Please be responsive to feedback — PRs that go stale may be closed.
Thank you for helping make artisan-docs better! 🎉