PHPackages                             ksefapi/client - 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. ksefapi/client

ActiveLibrary[API Development](/categories/api)

ksefapi/client
==============

KSEF API Client for PHP

2.0.5(2w ago)0792Apache-2.0PHPPHP ^8.2

Since May 4Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/ksefapi/ksefapi-php-client)[ Packagist](https://packagist.org/packages/ksefapi/client)[ Docs](https://ksefapi.pl)[ RSS](/packages/ksefapi-client/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (3)Versions (8)Used By (0)

KSEF API Client for PHP
=======================

[](#ksef-api-client-for-php)

[![pl](https://camo.githubusercontent.com/120932cd030f2a56c1f1661ebf7078703f45d6832298f05610add31de52e203e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c616e672d706c2d7265642e737667)](https://github.com/ksefapi/ksefapi-php-client/blob/main/README.pl.md)

This is the official repository for KSEF API Client for PHP:

Documentation
=============

[](#documentation)

The documentation and samples are available at

KSEF REST API
-------------

[](#ksef-rest-api)

KSEF REST API serves as an integration interface for the Polish National e-Invoice System (KSeF), a central repository of structured electronic invoices managed by the Ministry of Finance.

### Key functions of KSEF API

[](#key-functions-of-ksef-api)

- Generating structured invoices compliant with KSeF.
- Sending invoices to KSeF in an interactive session.
- Sending a batch of invoices to KSeF in a batch session.
- Downloading an Official Confirmation of Receipt (UPO).
- Downloading a single invoice from KSeF.
- Searching and downloading invoices from KSeF (both cost and sales).
- Visualization of invoices in PDF or HTML format (including required QR codes).
- A unique black-box solution for deploying a dedicated KSeF gateway on your own platform.

License
=======

[](#license)

This project is delivered under Apache License, Version 2.0:

[![License (Apache 2.0)](https://camo.githubusercontent.com/e9a7be89f3160a6a7cb1f7104fddb2a5f009acabd31d71a5659f7cefe80e317c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d41706163686525323076657273696f6e253230322e302d626c75652e7376673f7374796c653d666c61742d737175617265)](http://www.apache.org/licenses/LICENSE-2.0)

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance88

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~68 days

Recently: every ~34 days

Total

7

Last Release

14d ago

Major Versions

1.2.4 → 2.0.12026-02-03

PHP version history (2 changes)1.2.3PHP ^7.4 || ^8.0

2.0.1PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/77d2e5128124ec821348385888d56af82a7b6544dfae57067e40d20700e0850f?d=identicon)[ksefapi](/maintainers/ksefapi)

---

Top Contributors

[![ksefapi](https://avatars.githubusercontent.com/u/210288371?v=4)](https://github.com/ksefapi "ksefapi (9 commits)")

---

Tags

apikseffaktury

### Embed Badge

![Health badge](/badges/ksefapi-client/health.svg)

```
[![Health](https://phpackages.com/badges/ksefapi-client/health.svg)](https://phpackages.com/packages/ksefapi-client)
```

###  Alternatives

[n1ebieski/ksef-php-client

PHP API client that allows you to interact with the API Krajowego Systemu e-Faktur

9067.8k](/packages/n1ebieski-ksef-php-client)[sk-id-solutions/smart-id-php-client

Smart-ID PHP client

231.0M2](/packages/sk-id-solutions-smart-id-php-client)[comgate/sdk

Comgate PHP SDK

13373.6k](/packages/comgate-sdk)[soneso/stellar-php-sdk

Stellar PHP SDK for the Stellar Network

4154.3k4](/packages/soneso-stellar-php-sdk)[culqi/culqi-php

Cliente Culqi API para PHP

41370.5k1](/packages/culqi-culqi-php)[satispay/gbusiness-api-php-sdk

Satispay GBusiness API PHP SDK

19218.9k4](/packages/satispay-gbusiness-api-php-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
