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

Laravel Integration

The src/Laravel/ directory provides a service provider, facade, Artisan commands, and an event-based webhook bridge.

Auto-discovery

SveaServiceProvider is auto-discovered via the extra.laravel key in composer.json. To register manually:

// bootstrap/providers.php
Svea\Laravel\SveaServiceProvider::class,

Facade

use Svea\Laravel\Svea;

Svea::checkout()->create(...);
Svea::admin()->order('12345678')->deliver();
Svea::subscriptions()->list();

Webhook event

use Svea\Laravel\Events\SveaWebhookReceived;
use Svea\Laravel\WebhookService;

class SveaWebhookController
{
    public function __invoke(Request $request, WebhookService $webhookService): Response
    {
        $event = $webhookService->fromRequest($request);
        SveaWebhookReceived::dispatch($event);

        return response()->noContent();
    }
}

Artisan commands

Command Description
svea:subscription:add Register a webhook subscription
svea:subscription:list List all subscriptions
svea:subscription:get {id} Inspect one subscription
svea:subscription:verify {id} Verify (Ping) a subscription
svea:subscription:update {id} Change URL or events
svea:subscription:remove {id} Delete a subscription

See the README — Artisan Commands for full flag reference and examples.

HTTP tracing with Wiretap (optional)

nordkit/wiretap integrates with SveaClient via a custom HandlerStack — see the Custom Middleware guide.

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.
craftcms/url-validator
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony