PHP code example of faaren-tech / webhook-receiver
1. Go to this page and download the library: Download faaren-tech/webhook-receiver library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
faaren-tech / webhook-receiver example snippets
return [
// other configuration options
'endpoints' => [
'my-example-endpoint' => MyExampleWebhookHandler::class
]
];
shell
php artisan vendor:publish
xml
<testsuites>
...
<testsuite name="FaarenTechWebhookReceiver">
<directory suffix="Test.php">./vendor/faaren-tech/webhook-receiver</directory>
</testsuite>
</testsuites>