spkm / ciphr
Integrate with the ciphr HR system API using SaloonPHP
v0.0.1
2025-03-04 14:17 UTC
Requires
- php: >=8.3
- saloonphp/cache-plugin: ^3.0
- saloonphp/laravel-plugin: ^3.0
- saloonphp/pagination-plugin: ^2.0
- saloonphp/saloon: ^3.0
- spatie/laravel-package-tools: ^1.19
- symfony/var-dumper: ^7.2
Requires (Dev)
- laravel/pint: ^1.20
README
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.