Skip to content

Latest commit

 

History

History
104 lines (74 loc) · 2.62 KB

README.md

File metadata and controls

104 lines (74 loc) · 2.62 KB

PHP library for interacting with the Svix API and verifying webhook signatures

GitHub tag Packagist Version

Join our slack

Usage Documentation

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.

Language Support

⚡️ Features ⚡️
Officially Supported
API Support 🔜
Signature Verification
Caveats None! 🚀

Installation

Composer

Install via Composer:

composer require svix/svix

Autoload dependencies:

require __DIR__ . '/vendor/autoload.php';

Manual Installation

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');

Required Dependencies

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.

Development

First checkout the core README for details on how to generate our API bindings, then follow the steps below.

Requirements

  • PHP >= 5.6.0

Building the library

dotnet build

Contributing

Before opening a PR be sure to format your code!

composer install
./vendor/bin/php-cs-fixer fix -v --using-cache=no .

Running Tests

Simply run:

composer install
./vendor/bin/phpunit php/tests