Download the PHP package knocklabs/knock-php without Composer
On this page you can find all versions of the php package knocklabs/knock-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package knock-php
Knock PHP library
Documentation
See the documentation for PHP usage examples.
Installation
Configuration
To use the library you must provide a secret API key, provided in the Knock dashboard.
Usage
Identifying users
Sending notifies (triggering workflows)
Retrieving users
Deleting users
Preferences
Preference center
Getting and setting channel data
Tenants
Audiences
Bulk creating schedules
Guides
Slack and Microsoft Teams providers
Workflow recipient runs
Canceling workflows
Signing JWTs
You can use the firebase/php-jwt package to sign JWTs easily.
You will need to generate an environment specific signing key, which you can find in the Knock dashboard.
If you're using a signing token you will need to pass this to your client to perform authentication. You can read more about client-side authentication here.
Test
To run tests, first run composer in the terminal. Once compiled, you can run phpunit tests/ to run the suite.
All versions of knock-php with dependencies
ext-json Version *
league/uri-components Version ^7.6
php-http/client-common Version ^2.7.2
php-http/discovery Version ^1.14
php-http/httplug Version ^2.4.1
php-http/promise Version ^1.3.1
psr/http-client Version ^1.0
psr/http-client-implementation Version ^1.0
psr/http-factory Version ^1.1
psr/http-factory-implementation Version ^1.0
psr/http-message Version ^2.0