jongotlin / hogia
Installs: 4 043
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:package
Requires
- php: ^7.4|^8.0
Requires (Dev)
- phpunit/phpunit: ^9.5
README
Create Hogia Lön Plus xml document
Install with composer: composer require jongotlin/hogia
$fileInfo = new \JGI\Hogia\Model\FileInfo(); $fileInfo->setCompanyName('Foo company'); $payTypeInstruction = new \JGI\Hogia\Model\PayTypeInstruction('111', 'A', '123'); $hogiaDocument = (new \JGI\Hogia\Generator())->createHogiaDocument($fileInfo, [$payTypeInstruction]); echo $hogiaDocument->saveXML()