Download the PHP package as-cornell/as_webhook_entities without Composer

On this page you can find all versions of the php package as-cornell/as_webhook_entities. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package as_webhook_entities

Latest Stable Version

AS WEBHOOK ENTITIES (as_webhook_entities)

INTRODUCTION

Touchdown!

Receives webhook notifications from remote systems and creates, updates, or deletes local Drupal entities (people, articles, taxonomy terms) accordingly. Uses a Strategy pattern with per-type handler classes for maintainability and extensibility.

REQUIREMENTS

System Requirements

INSTALLATION

New Installation

  1. Enable the module:

  2. Configure the module settings:

    • Navigate to /admin/config/as_webhook_entities/settings
    • Configure the authorization token and cron trigger settings
  3. Verify the queue worker is registered:

    You should see webhook_entities_processor in the list.

Upgrading from 1.x to 2.0

  1. Pull the updated code and clear cache:

  2. Verify the module is functioning:

CONFIGURATION

ARCHITECTURE

Strategy Pattern (v2.0+)

Per-type field logic is handled by dedicated handler classes. WebhookCrudManager is a thin dispatcher that handles shared logic (title, status, departments/domain access, save) and delegates to the appropriate handler.

Supported Entity Types

Payload type Drupal entity Handler
person node:person PersonWebhookHandler
article node:article ArticleWebhookHandler
media_report_entry node:media_report_entry MediaReportEntryWebhookHandler
media_report_person node:person MediaReportPersonWebhookHandler
term taxonomy_term TermWebhookHandler

Adding a New Entity Type

  1. Create a class in src/WebhookHandler/ extending WebhookHandlerBase
  2. Implement getType(), applyCreateFields(), and applyUpdateFields()
  3. Register it in WebhookCrudManager::__construct():

MAINTAINERS

Current maintainers for Drupal 10:

TROUBLESHOOTING

Queue items not processing

  1. Check the queue size:

  2. Run the queue manually:

  3. Check recent logs:

Entity not created or updated

  1. Verify the UUID lookup is finding the entity:

  2. Push a test payload directly into the queue:

  3. Check for field errors — if a field in the payload doesn't exist on the destination bundle, the update will fail. Verify field existence:

CHANGELOG

2.0


All versions of as_webhook_entities with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package as-cornell/as_webhook_entities contains the following files

Loading the files please wait ...