Download the PHP package praxicraft/assess without Composer
On this page you can find all versions of the php package praxicraft/assess. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download praxicraft/assess
More information about praxicraft/assess
Files in praxicraft/assess
Package assess
Short Description Official PHP SDK for the Praxicraft Assess Public API
License MIT
Homepage https://docs.praxicraft.com/sdks/php
Informations about the package assess
Praxicraft Assess PHP SDK
Official PHP client for the Praxicraft Assess Public API.
Use it to invite candidates, check invite quota, manage webhooks, enroll hiring pipelines, and fetch results from your ATS, backend, or automation scripts.
Until Packagist publish, install from GitHub:
Requires PHP 8.1+. Full API reference: docs.praxicraft.com/sdks/php
Table of Contents
- Authentication
- Quickstart
- What you can do
- Check invite quota before bulk sends
- Bulk invites
- Build and activate an assessment via API
- Register and test a webhook
- Enroll into a hiring pipeline
- Paginate cohort results
- Verify webhook signatures
- Errors
- Requirements & support
- License
Authentication
Create an organisation API key in Assess:
Assess → Developer → API Keys → create key → copy ct_live_… (shown once).
Or pass the key when constructing the client:
Optional: override the API host with PRAXICRAFT_API_BASE_URL or new Client(['baseUrl' => '...']).
Default host: https://assess.praxicraft.com.
Never commit API keys. Prefer environment variables or a secrets manager.
Scopes and rotation: Authentication
Quickstart
Responses are flat JSON (same shape as the Public API — no { "data": … } wrapper).
What you can do
| Resource | Common methods |
|---|---|
$client->org |
retrieve(), stats() |
$client->assessments |
list(), retrieve(), create(), update(), activate(), listTasks(), attachTasks(), replaceTasks(), removeTask() |
$client->invites |
create(), bulkCreate(), list(), retrieve(), remind(), cancel() |
$client->results |
list(), retrieve(), iterAll() |
$client->webhooks |
list(), create(), retrieve(), update(), delete(), test(), deliveries() |
$client->pipelines |
list(), retrieve(), enroll(), bulkEnroll(), listEnrollments(), getEnrollment() |
Webhooks::verifySignature |
Verify X-Praxicraft-Signature on webhook payloads |
All paths target /api/v1/public/… on the Assess host.
Check invite quota before bulk sends
Bulk invites
Build and activate an assessment via API
Register and test a webhook
Enroll into a hiring pipeline
Paginate cohort results
Verify webhook signatures
Assess signs the raw request body with your webhook secret (whsec_…):
Header format: X-Praxicraft-Signature: sha256=<hex>
Event catalog and payload examples: Webhooks
Errors
Public API errors look like:
The SDK raises typed exceptions. Branch on $exc->errorCode, not the message text:
Error codes: Errors
Requirements & support
- PHP 8.1, 8.2, or 8.3+
- Extensions:
curl,json,hash - Product docs: docs.praxicraft.com
- Issues: GitHub Issues
License
MIT
All versions of assess with dependencies
ext-curl Version *
ext-json Version *
ext-hash Version *