An HRWorks API Integration for Laravel.
For a connection between HRWorks, it is necessary, to obtain an API token. More information can be found on the HRWorks API Documentation.
$ composer require berthott/laravel-hrworks
This package only provides a generic HrWorksApiService
which an be used to conveniently interact with the HrWorks API. The package will take care of authentication and will store an auth token inside the database.
To change the default options use
$ php artisan vendor:publish --provider="berthott\HrWorks\HrWorksServiceProvider" --tag="config"
cache_enabled
: HrWorks will cache it's responses by default. This package disables this by default. Defaults tofalse
.auth
: Array to defineaccessKey
andsecretAccessKey
which can be obtained from within the HrWorks application. Defaults to'accessKey' => env('HRWORKS_ACCESS_KEY'), 'secretAccessKey' => env('HRWORKS_SECRET_ACCESS_KEY'),
api
: Defines the endpoints to the HrWorks Api. Default seeconfig/config.php
.
Tested with Laravel 10.x.
See License File. Copyright © 2024 Jan Bladt.