Download the PHP package stomaskovic/fiskalizacija without Composer
On this page you can find all versions of the php package stomaskovic/fiskalizacija. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stomaskovic/fiskalizacija
More information about stomaskovic/fiskalizacija
Files in stomaskovic/fiskalizacija
Package fiskalizacija
Short Description PHP API za fiskalizaciju računa
License MIT
Homepage https://github.com/stomaskovic/fiskalizacija
Informations about the package fiskalizacija
Fiskalizacija
Fork od baitella/fiskalizacija koji je fork od nticaric/fiskalizacija.
PHP API za fiskalizaciju računa u Hrvatskoj
Primjer računa:
Ako se radi o testnoj okolini s demo certifikatom, četvrti parametar konstruktora je
potrebno postaviti u true
$fis = new Fiskalizacija("./path/to/certificate.pfx", "password", "security" , true);
Ako se radi o produkcijskoj okolini, četvrti parametar se treba postaviti na false
ili se može izostaviti
$fis = new Fiskalizacija("./path/to/certificate.pfx", "password");
Od 27. listopada 2015. napušta se SSL protokol pri komunikaciji fiskalnih blagajni s poslužiteljima i prelazi se na TLS protokol.
Kao treći parametar konstruktora treba se postaviti TLS
umjesto SSL
. Ako bi se treći parametar izostavio, koristio bi se SSL
kao default protokol.
$fis = new Fiskalizacija("./path/to/certificate.pfx", "password", "TLS", true);
Primjer poslovnog prostora:
Primjer testne poruke:
All versions of fiskalizacija with dependencies
ext-dom Version *
ext-openssl Version *
ext-curl Version *
ext-bcmath Version *
ext-xmlwriter Version *
nesbot/carbon Version ^2.62.1