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.6(1mo ago)0882Apache-2.0PHPPHP ^8.2

Since May 4Pushed 1mo 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 1w ago

READMEChangelog (6)Dependencies (4)Versions (9)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

45

—

FairBetter than 91% of packages

Maintenance92

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

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 ~61 days

Recently: every ~38 days

Total

8

Last Release

38d 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 (11 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

9082.3k](/packages/n1ebieski-ksef-php-client)[soneso/stellar-php-sdk

Stellar PHP SDK for the Stellar Network

4157.3k4](/packages/soneso-stellar-php-sdk)[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

13388.6k](/packages/comgate-sdk)[satispay/gbusiness-api-php-sdk

Satispay GBusiness API PHP SDK

19225.7k4](/packages/satispay-gbusiness-api-php-sdk)[optiosteam/payconiq-client-php

Payconiq API client library for PHP developed by Optios.

1275.0k](/packages/optiosteam-payconiq-client-php)

PHPackages © 2026

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