PHP code example of kzorluoglu / arbeitsagentur

1. Go to this page and download the library: Download kzorluoglu/arbeitsagentur library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

kzorluoglu / arbeitsagentur example snippets


    // Prepare for Upload
        $xmlJob = $this->getXMLJob();
        $xmlJob->setFilePath(__DIR__ . '\\unittest.xml');

        $company = new Company;
        $company->setCertificateFilePath(__DIR__ . '\\test.pem')
            ->setCompanyName('V123456')
            ->setSupplierID('V123456')
            ->setAllianzpartnerNumber('123456')
            ->setPIN('%&!RANDOM&PIN!&%');

        $this->bundesagenturService = new BundesagenturService();
        $this->bundesagenturService->setCompany($company);
        $this->bundesagenturService->setJob($xmlJob);

    if($this->bundesagenturService->isValid()){
        $jobService->upload();
    }