Download the PHP package fritak/eet without Composer
On this page you can find all versions of the php package fritak/eet. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package eet
Short Description API for EET (electronic sales record) client in PHP
License MIT
Informations about the package eet
API for EET Client in PHP
This code is an implementation of the EET ("elektronická evidence tržeb") in a PHP. Be aware that this library is working even from your localhost, if you have an internet connection.
INSTALLATION
REQUIREMENTS
The minimum requirement is PHP 5.6 on your Web Server. Prerequisite are these libraries and php extensions:
- robrichards/wse-php
- robrichards/xmlseclibs
- ramsey/uuid
- Soap client. See http://php.net/manual/en/soap.setup.php
- Open SSL. See http://php.net/manual/en/openssl.setup.php
SETUP
Example of config:
- Move certificate (PKCS#12) to your path. (See information on how to get one, or use the certificate from "/example/certificate" for playground - TEST only)
- Set path to wsdl file for EET (you need to include XSD schema too).
Note:
- Example file for playground (EETServiceSOAP.wsdl) is v3 from http://www.etrzby.cz and XSD from http://www.etrzby.cz
BASIC USAGE
Change certificate or defalut values later on
ADVANCED USAGE - Receipt
Nette integration
Nette Framework is an open-source framework for creating web applications in PHP 5 and 7. There is basic integration into your application.
Include library to your project. Include config files to your parameters.neon:
That's it! Now you can use it as noted above, for example action in presenter:
Information
- eTrzby Information
- eTrzby - How to get certificate
- technicka-specifikace Technická specifikace
- soap
- openssl
All versions of eet with dependencies
robrichards/wse-php Version *
robrichards/xmlseclibs Version *
ramsey/uuid Version ^3