spkm/ciphr

Integrate with the ciphr HR system API using SaloonPHP

v0.0.1 2025-03-04 14:17 UTC

This package is auto-updated.

Last update: 2025-05-04 14:44:26 UTC


README

Banner

Installation and usage

This package requires PHP 8.3 & Laravel 11.0 or higher & Ciphr 10 or higher. See the tests/ folder for documentation.

Basic Installation:

You can install this package via composer using:

composer require spkm/ciphr

Usage

use spkm\ciphr\CiphrConnector;
use spkm\ciphr\Requests\Person\GetPersonDetailsRequest;

$connector = new CiphrConnector($yourCustomerPortal, $yourApiKey);
$request = new GetPersonDetailsRequest();
$paginator = $connector->paginate($request);

foreach ($paginator as $response) {
  $response->json();
}

Security

If you discover any security related issues, please email hello@spkmitchell.co.uk instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.