marios88 / php-gsis
Helper Classes for consuming Greek GSIS services
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/marios88/php-gsis
Requires
- php: >=7.4.0
- ext-soap: *
This package is auto-updated.
Last update: 2025-09-11 17:37:18 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