Skip to content

Helper Classes for consuming Greek GSIS services

License

Notifications You must be signed in to change notification settings

marios88/php-gsis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

phpGsis

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

About

Helper Classes for consuming Greek GSIS services

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages