PHP code example of as-cornell / as_webhook_update
1. Go to this page and download the library: Download as-cornell/as_webhook_update 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/ */
as-cornell / as_webhook_update example snippets
bash
drush php-eval "\$key = \Drupal::service('key.repository')->getKey('as_webhook_update_token'); echo \$key ? 'Token configured' : 'Token NOT configured';"
bash
drush php-eval "echo get_class(\Drupal::service('as_webhook_update.dispatcher'));"