PHPackages                             naprawksef/sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. naprawksef/sdk

ActiveLibrary[API Development](/categories/api)

naprawksef/sdk
==============

Official PHP SDK for the NaprawKSeF API (KSeF XML validation, FA(3) correction builder, webhooks). Zero non-stdlib runtime dependencies; works with Laravel, Symfony and plain PHP.

v1.0.0(2mo ago)00MITPHPPHP &gt;=8.1

Since May 25Pushed 2mo agoCompare

[ Source](https://github.com/naprawksef/sdk-php)[ Packagist](https://packagist.org/packages/naprawksef/sdk)[ Docs](https://naprawksef.pl/developers/sdk-php)[ RSS](/packages/naprawksef-sdk/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

naprawksef/sdk
==============

[](#naprawksefsdk)

Official PHP SDK for the [NaprawKSeF](https://naprawksef.pl) API.

- Full coverage of `/api/v1`: validate, correction analyze, scenarios, webhooks, me, health
- Built-in retries (429, 5xx, network), respects `Retry-After`
- Automatic `Idempotency-Key` generation for POST requests
- Webhook signature verification helper (constant-time HMAC-SHA256)
- Zero runtime dependencies — uses native `ext-curl`

Requirements
------------

[](#requirements)

- PHP 8.1+
- ext-curl
- ext-json

Installation
------------

[](#installation)

```
composer require naprawksef/sdk
```

Quick start
-----------

[](#quick-start)

```
