PHPackages                             crisphive/crisphive-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. crisphive/crisphive-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

crisphive/crisphive-php
=======================

Public REST API for integrating CrispHive from your own backend. Authenticate every request with a secret API key as a Bearer token (`Authorization: Bearer chsk\_live\_…`). The key prefix selects the data environment: `chsk\_live\_…` → production (live), `chsk\_test\_…` → sandbox (isolated test). \*\*Key scopes (restricted keys).\*\* A key is either \*full-access\* (can call every endpoint below) or \*restricted\* to a set of permission codes chosen at creation — the same codes as the dashboard permission grid (e.g. `customers\_view`, `job\_create`, `team\_manage`). A restricted key calling an endpoint outside its scope gets `403`. The full code list is the permission catalog (`GET /permission/modules` on the dashboard API). Create, scope, and revoke keys from the business dashboard. Every response is wrapped in the envelope `{ "error\_code": 0, "message": "Success", "data": &lt;payload&gt; }`.

0.1.0(yesterday)00unlicensePHPPHP ^7.4 || ^8.0

Since Jul 1Pushed todayCompare

[ Source](https://github.com/crisphive/crisphive-php)[ Packagist](https://packagist.org/packages/crisphive/crisphive-php)[ Docs](https://openapi-generator.tech)[ RSS](/packages/crisphive-crisphive-php/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (4)Versions (2)Used By (0)

CrispHive PHP
=============

[](#crisphive-php)

The official PHP SDK for the [CrispHive API](https://docs.crisphive.com/).

Typed access to the public `/v1` API — customers, bookings, catalog, team and fleet.

Requirements
------------

[](#requirements)

PHP 7.4+ with the `curl`, `json` and `mbstring` extensions.

Installation
------------

[](#installation)

```
composer require crisphive/crisphive-php
```

Authentication
--------------

[](#authentication)

Every request is authenticated with a secret API key sent as a bearer token. Create keys from your CrispHive business dashboard. **The key prefix selects the data environment:**

- `chsk_live_…` → live (production) data
- `chsk_test_…` → sandbox (isolated test) data

Load keys from the environment — never commit them.

Usage
-----

[](#usage)

```
