Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Svea Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Installation

Requirements

Dependency Version
PHP ^8.2
guzzlehttp/guzzle ^7.8
illuminate/support (optional) ^11.0 | ^12.0 | ^13.0 — for the Laravel facade and service provider

Install via Composer

composer require nordkit/svea

Laravel

The service provider and facade are auto-discovered. Publish the config file:

php artisan vendor:publish --tag=svea-config

Then add credentials to .env:

SVEA_MERCHANT_ID=...
SVEA_SHARED_SECRET=...
SVEA_ENVIRONMENT=test
SVEA_WEBHOOK_SECRET=...

See Configuration for the full list of supported keys.

Standalone (no Laravel)

Instantiate SveaClient directly with a config array:

use Svea\SveaClient;

$svea = new SveaClient([
    'merchant_id'    => 'abc',
    'shared_secret'  => 'xyz',
    'environment'    => 'test',
    'webhook_secret' => 'whsec_...',
]);

See the standalone guide for more.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky