Skip to content

feat: finalize production-ready verification, retry, idempotency, doc…#2

Merged
sudiptpa merged 1 commit into
masterfrom
feat/khalti-modern-sdk
Feb 22, 2026
Merged

feat: finalize production-ready verification, retry, idempotency, doc…#2
sudiptpa merged 1 commit into
masterfrom
feat/khalti-modern-sdk

Conversation

@sudiptpa
Copy link
Copy Markdown
Owner

@sudiptpa sudiptpa commented Feb 22, 2026

New additions

  • UPGRADE.md
  • CODE_OF_CONDUCT.md
  • .github/FUNDING.yml (GitHub Sponsors-ready)
  • docs/api.md (API method index)
  • scripts/smoke.php (local smoke test script)
  • CI upgrades in .github/workflows/ci.yml:
    • composer validate --strict
    • stable matrix (8.2/8.3/8.4/8.5)
    • lowest-dependency run (8.2 + prefer-lowest)

Also already included in package

  • Retry policy in ApiClient
  • Polling helper waitForCompletion()
  • Idempotency interface and processed-once verification path
  • Replay-window + mismatch checks
  • MoneyPaisa, VerificationContext, OrderVerificationResult
  • Typed transaction models + contract fixtures/tests
  • CHANGELOG.md, RELEASE.md, SECURITY.md, CONTRIBUTING.md, SUPPORT.md
  • examples (plain-php, laravel, jobs, cron)

Validation

  • PHPUnit: 27 tests, 59 assertions passing
  • PHPStan: no errors
  • PHP lint: clean (src, tests, examples, scripts)

@sudiptpa sudiptpa merged commit bbb66d9 into master Feb 22, 2026
5 checks passed
@sudiptpa sudiptpa deleted the feat/khalti-modern-sdk branch February 22, 2026 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant