nordkit/svea
Modern PHP SDK for Svea Checkout, Payment Admin, webhook subscriptions and inbound webhook verification. Fluent API with typed value objects, retries, idempotency, async task polling, and a robust testing fake. Includes first-class Laravel integration.
This directory contains the VitePress source for the documentation site published at https://nordkit.github.io/svea/.
Requires Node 20+.
cd docs
npm install
npm run dev # starts the dev server on http://localhost:5173/svea/
npm run build # builds to .vitepress/dist/
npm run preview # serves the built site
docs/
├── .vitepress/
│ └── config.ts # site config — nav, sidebar, SEO, theme
├── public/
│ └── logo.svg # static assets (served as-is)
├── guide/ # narrative guides (left-nav under /guide/)
│ ├── getting-started.md
│ ├── installation.md
│ ├── quick-start.md
│ ├── configuration.md
│ ├── authentication.md
│ ├── laravel.md
│ ├── standalone.md
│ ├── testing.md
│ ├── error-handling.md
│ ├── retries-idempotency.md
│ └── middleware.md
├── api/ # API reference (left-nav under /api/)
│ ├── checkout.md
│ ├── admin.md
│ ├── subscriptions.md
│ ├── webhooks.md
│ └── response-objects.md
├── index.md # home page (hero + features)
└── package.json
.github/workflows/docs.yml builds and deploys to GitHub Pages on every push to main that touches docs/**.
To enable: in the repo settings → Pages → Source → GitHub Actions.
To serve from a custom domain (e.g. svea.nordkit.dev):
docs/public/CNAME file containing the domain..vitepress/config.ts, change base: '/svea/' to base: '/'.Every page has an "Edit this page on GitHub" link in the footer for one-click PRs. Conventional Commits are encouraged (docs: …).
How can I help you explore Laravel packages today?