You can find general usage documentation at https://docs.svix.com. For complete API documentation with code examples for each endpoint in all of our official client libraries head over to our API documentation site at https://api.svix.com.
⚡️ Features ⚡️ | |
---|---|
Officially Supported | ✅ |
API Support | 🔜 |
Signature Verification | ✅ |
Caveats | None! 🚀 |
Install via Composer:
composer require svix/svix
Autoload dependencies:
require __DIR__ . '/vendor/autoload.php';
For now you can download the latest release. Then, to use the bindings, include the init.php
file.
require_once('/path/to/svix-php/init.php');
Svix PHP requires the following extensions in order to run:
If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.
First checkout the core README for details on how to generate our API bindings, then follow the steps below.
- PHP >= 5.6.0
dotnet build
Before opening a PR be sure to format your code!
composer install
./vendor/bin/php-cs-fixer fix -v --using-cache=no .
Simply run:
composer install
./vendor/bin/phpunit php/tests