v2.0.0
Contributing
Thanks for your interest in contributing to crumbls/subscriptions. Bug reports, feature proposals, and pull requests are all welcome.
Local setup
git clone https://github.com/Crumbls/subscriptions.git
cd subscriptions
composer install
Running the quality checks
composer test runs the full pipeline used by CI:
composer test # lint + type coverage + typos + unit + types + refactor
Individual pieces:
composer test:lint # Pint --test (code style, no fixes)
composer test:unit # Pest with 100% coverage enforced
composer test:types # PHPStan
composer test:refactor # Rector --dry-run
composer test:type-coverage # pest --type-coverage --exactly=100
composer test:typos # peck
composer lint # Pint in fix mode
composer refactor # Rector in fix mode
Pull requests
- Open the PR against
main. - Run
composer testlocally before pushing; CI runs the same commands across the full PHP/Laravel matrix. - Include tests for behavior changes. Feature tests live in
tests/Feature/, unit tests intests/Unit/. - Breaking changes belong behind a version bump — note them in
CHANGELOG.mdand add upgrade steps toUPGRADING.md.
Reporting issues
Open a GitHub issue with:
- Affected version (
composer show crumbls/subscriptions). - PHP and Laravel versions.
- A minimal reproduction — ideally a failing test.
- Expected vs. actual behavior.
Security issues
Please do not open public issues for security vulnerabilities. See SECURITY.md for reporting channels.