PHP code example of convenia / dependent-payroll-export
1. Go to this page and download the library: Download convenia/dependent-payroll-export 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/ */
convenia / dependent-payroll-export example snippets
use Convenia\DependentPayrollExport\PayrollExport;
$dependent = new PayrollExport;
// Array com os dados do evento
$payroll = [
[
'companyCode' => 1111111,
'employeeCode' => 2222222,
'dependentCode' => 3333333,
'birthdayDate' => '01/06/2018',
]
];
// Chamada para o evento
$payrollExport->dependentEvents($payroll)
->generate();