<commit_before># Zend Expressive integration
The [Zend Expressive](https://github.com/zendframework/zend-expressive) integration is very easy, because you can use 
the predefined factories and configuration examples of the specific prooph component.

> Take a look at the Zend Expressive [prooph components in action)(https://github.com/prooph/proophessor-do "proophessor-do example app") 
example app.

## Routes
Here is an example for the `AuraRouter` to call the `CommandMiddleware` for the `register-user` command.

```php
return [
    'routes' => [
        [
            'name' => 'command::register-user',
            'path' => '/api/commands/register-user',
            'middleware' => \Prooph\Psr7Middleware\CommandMiddleware::class,
            'allowed_methods' => ['POST'],
            'options' => [
                'values' => [
                    // \Prooph\Common\Messaging\FQCNMessageFactory is used here
                    \Prooph\Psr7Middleware\CommandMiddleware::NAME_ATTRIBUTE => \Prooph\ProophessorDo\Model\User\Command\RegisterUser::class,<commit_msg>Fix link markup<commit_after># Zend Expressive integration
The [Zend Expressive](https://github.com/zendframework/zend-expressive) integration is very easy, because you can use 
the predefined factories and configuration examples of the specific prooph component.

> Take a look at the Zend Expressive [prooph components in action](https://github.com/prooph/proophessor-do "proophessor-do example app") 
example app.

## Routes
Here is an example for the `AuraRouter` to call the `CommandMiddleware` for the `register-user` command.

```php
return [
    'routes' => [
        [
            'name' => 'command::register-user',
            'path' => '/api/commands/register-user',
            'middleware' => \Prooph\Psr7Middleware\CommandMiddleware::class,
            'allowed_methods' => ['POST'],
            'options' => [
                'values' => [
                    // \Prooph\Common\Messaging\FQCNMessageFactory is used here
                    \Prooph\Psr7Middleware\CommandMiddleware::NAME_ATTRIBUTE => \Prooph\ProophessorDo\Model\User\Command\RegisterUser::class,
{'fraction_non_alphanumeric': 0.11617100371747212, 'fraction_numerical': 0.0018587360594795538, 'mean_word_length': 3.0393996247654784, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4910765', 'n_tokens_mistral': 614, 'n_tokens_neox': 602, 'n_words': 155}