PHPackages                             fiskaly/fiskaly-sdk-php - 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. fiskaly/fiskaly-sdk-php

AbandonedArchivedLibrary[API Development](/categories/api)

fiskaly/fiskaly-sdk-php
=======================

fiskaly Cloud-TSE SDK for PHP

1.2.200(5y ago)8270.4k↓11.1%3[3 issues](https://github.com/fiskaly/fiskaly-sdk-php/issues)MITPHPPHP &gt;=7.1

Since May 13Pushed 5y ago14 watchersCompare

[ Source](https://github.com/fiskaly/fiskaly-sdk-php)[ Packagist](https://packagist.org/packages/fiskaly/fiskaly-sdk-php)[ Docs](https://github.com/fiskaly/fiskaly-sdk-php)[ RSS](/packages/fiskaly-fiskaly-sdk-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (7)Used By (0)

fiskaly SDK for PHP
===================

[](#fiskaly-sdk-for-php)

The fiskaly SDK includes an HTTP client that is needed[1](#fn1) for accessing the [kassensichv.io](https://kassensichv.io) API that implements a cloud-based, virtual **CTSS** (Certified Technical Security System) / **TSE** (Technische Sicherheitseinrichtung) as defined by the German **KassenSichV** ([Kassen­sich­er­ungsver­ord­nung](https://www.bundesfinanzministerium.de/Content/DE/Downloads/Gesetze/2017-10-06-KassenSichV.pdf)).

Supported Versions
------------------

[](#supported-versions)

- PHP 7.1+

Features
--------

[](#features)

- Automatic authentication handling (fetch/refresh JWT and re-authenticate upon 401 errors).
- Automatic retries on failures (server errors or network timeouts/issues).
- Automatic JSON parsing and serialization of request and response bodies.
- Future: \[1\] compliance regarding [BSI CC-PP-0105-2019](https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Zertifizierung/Reporte/ReportePP/pp0105b_pdf.pdf?__blob=publicationFile&v=7) which mandates a locally executed SMA component for creating signed log messages.
- Future: Automatic offline-handling (collection and documentation according to [Anwendungserlass zu § 146a AO](https://www.bundesfinanzministerium.de/Content/DE/Downloads/BMF_Schreiben/Weitere_Steuerthemen/Abgabenordnung/AO-Anwendungserlass/2019-06-17-einfuehrung-paragraf-146a-AO-anwendungserlass-zu-paragraf-146a-AO.pdf?__blob=publicationFile&v=1))

Integration
-----------

[](#integration)

### Composer

[](#composer)

The PHP SDK is available for a download via [Composer](https://getcomposer.org/).

Packagist - [Package Repository](https://packagist.org/packages/fiskaly/fiskaly-sdk-php).

Simply execute this command from the shell in your project directory:

```
$ composer require fiskaly/fiskaly-sdk-php
```

Or you can manually add the package to your `composer.json` file:

```
"require": {
    "fiskaly/fiskaly-sdk-php": "*"
}
```

then run

```
$ composer install
```

Finally, be sure to include the autoloader in your code:

```
