Commander

Component type

module

Categories

Maintenance status

Development status

Downloads

269

Component created

Component changed

Provides a command bus

All you need to do is to create two classes, command and command handler, and pass the command object to the command bus.

How to use the module

1. Create your command handler plugin. That is a class that knows how to execute your command. You can inject any services into your handler class.

Eventor

Component type

module

Categories

Maintenance status

Development status

Downloads

267

Component created

Component changed

Simplifies dispatching and handling events. No need to keep track of underscored event names.

The main idea is to give your event class a readable name. The method name for handling that event in your event listener must be prefixed with when.

Examples:

Event: UserHasRegistered
Method: whenUserHasRegistered

Event: EmailWasSent
Method: whenEmailWasSent

SuperFeature

Component type

module

Maintenance status

Development status

Downloads

10

Component created

Component changed

What is it?

Having many modules is not good but when your site is complex is has many contributed modules and many features, e.g. using Featurize, that contain various components.
You cannot get rid of contributed modules as they power your site. As to the features you most likely need them to deliver the configurations with the reverts.

Developer Module

Component type

module

Maintenance status

Development status

Downloads

167

Component created

Component changed

After installing this module in Drupal 8, you can easily configure theme debug as well as disable cache feature during development option from Admin interface.

When you enable "Enable Theme Debug" option from DEVELOPER CONFIGURATION then it will suggest template of the website. For that, please view source of the webpage.

Twig Render This

Component type

module

Categories

Maintenance status

Development status

Downloads

512

Component created

Component changed

Installation

Composer

composer require drupal/twig_render_this

Drush

drush en twig_render_this -y

Usage

Let's look at the following two lines:

{{ content.field_tags }}
{{ node.field_tags }}

The difference between these two lines is that in the first case we have the Tags field as a rendered array, and in the second case we have this field as an object.

Dialogflow (Api.AI) Webhook

Component type

module

Maintenance status

Development status

Downloads

496

Component created

Component changed

This module integrates your Drupal website with Dialogflow (ex Api.AI) Webooks, letting your Dialogflow agents talk with you website, respond to Intents request and filling slots.

The integration is basic: the module handles the request and triggers a Symfony Event which modules can subscribe to in order to add their logic.

XPath scraper

Component type

module

Maintenance status

Development status

Downloads

840

Component created

Component changed

XPath scraper allows you to scrape data from another website by parsing html using xpath.

How does it work:

  1. Download and enable XPath scraper module.
  2. Create new module that requires XPath scraper and put the configuration at {module_name}/src/Controller/ScraperConfigController.php.

Example:

kindly see xs_test which has the following files: