marios88 / php-gsis
Helper Classes for consuming Greek GSIS services
0.2.0
2022-11-11 11:28 UTC
Requires
- php: >=7.4.0
- ext-soap: *
This package is auto-updated.
Last update: 2024-11-11 15:49:39 UTC
README
A collection of classes for painless consuming of various GSIS SOAP services.
\Gsis\VatDetails
for requesting VAT information
\Gsis\a39
for getting the compliance status for Article 39a (Άρθρο 39α)
Installation
- Minumum PHP 7.4
- Requires the SOAP extension to be already installed
- Ιnstall Composer.
- Then install using the following command:
composer require marios88/php-gsis
Configuration
You are required register with Gsis before using most of their services.
Note that 39a and Vat details require different credentials ( how to create them (Greek) )
Examples
<?php use Gsis\VatDetails; use Gsis\a39; require __DIR__.'/vendor/autoload.php'; $gsis = new a39('myusername1','mypassword1','myafm1'); var_dump($gsis->fetchBasic('otherafm1')); $gsis = new VatDetails('myusername2','mypassword2','myafm1'); var_dump($gsis->fetchBasic('otherafm2'));
Release History
- 0.2.0
- PHP 7.4
- Allow setting proxy
- 0.1.0
- Initial Release
Notes
This was insipired by the work of dspinellis/greek-vat-data
Gsis 39a Service
Gsis 39a Service Developer Manual (in greek)
Licence
MIT