spryker/app-webhook

AppWebhook module

This package is auto-updated.

Last update: 2024-06-27 07:09:37 UTC


README

AppWebhook Module

Latest Stable Version Minimum PHP Version

Provides SyncAPI and AsyncAPI schema files and the needed code to make the Mini-Framework an App.

Installation

composer require spryker/app-webhook

Configure

App Identifier

config/Shared/config_default.php

use Spryker\Shared\AppWebhook\AppConstants;

$config[AppConstants::APP_IDENTIFIER] = getenv('APP_IDENTIFIER') ?: 'hello-world';

Testing the AppWebhook

You can test the AppWebhook as usual with Codeception. Before that you need to run some commands:

composer setup

With these commands you've set up the AppWebhook and can start the tests

vendor/bin/codecept build
vendor/bin/codecept run