PHPackages                             mostka-sk/respatch-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. mostka-sk/respatch-bundle

ActiveSymfony-bundle

mostka-sk/respatch-bundle
=========================

Acme bundle description

063PHP

Since May 18Pushed 2mo agoCompare

[ Source](https://github.com/mostka-sk/respatch-bundle)[ Packagist](https://packagist.org/packages/mostka-sk/respatch-bundle)[ RSS](/packages/mostka-sk-respatch-bundle/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

RespatchBundle
==============

[](#respatchbundle)

**RespatchBundle** is a Symfony bundle that provides an API for the **Respatch** desktop application.

What is Respatch?
-----------------

[](#what-is-respatch)

Respatch is a native Linux application designed for developers and administrators who need a complete overview of what's happening in their Symfony Messenger. No more constantly refreshing web interfaces – Respatch brings you important information in real time, directly in your desktop environment.

[![Respatch Screenshot](docs/main-screen.png)](docs/main-screen.png)

For more information about the desktop application, visit .

Installation
------------

[](#installation)

Make sure Composer is installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

### Applications that use Symfony Flex

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
$ composer require mostka-sk/respatch-bundle
```

> **Note:** If the routes are not automatically registered by Symfony Flex, you will need to create the `config/routes/respatch.yaml` file manually as described in **Step 3** below.

### Applications that don't use Symfony Flex

[](#applications-that-dont-use-symfony-flex)

#### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require mostka-sk/respatch-bundle
```

#### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    MostkaSk\RespatchBundle\RespatchBundle::class => ['all' => true],
];
```

#### Step 3: Register Routes

[](#step-3-register-routes)

Create the `config/routes/respatch.yaml` file to register the bundle's routes:

```
respatch_api:
    resource: '@RespatchBundle/config/routes.php'
    prefix: /_respatch/api
```

Configuration
-------------

[](#configuration)

For the desktop application to communicate with your Symfony server, you need to set a security token. To ensure security, the token stored on the server in `.env.local` must be a **SHA-256 hash** of your actual token. **Note:** The Respatch desktop application itself expects the **original plain text token**, not the hash!

1. Generate a SHA-256 hash of your chosen secret plain text token. You can do this via the command line:

```
$ php -r "echo hash('sha256', 'my_super_secret_token_123') . PHP_EOL;"
# Output: 818981442c8d28c347dd9c97b819619c62985f540b6cd6e6f157ad3d21b01775
```

2. Add the hashed value to your `.env` or `.env.local` file:

```
RESPATCH_TOKEN=818981442c8d28c347dd9c97b819619c62985f540b6cd6e6f157ad3d21b01775
```

3. Create the `config/packages/respatch.yaml` file to pass this token to the bundle:

```
respatch:
    token: '%env(RESPATCH_TOKEN)%'
```

Security
--------

[](#security)

To protect your data, you must configure a firewall for the Respatch API in `config/packages/security.yaml`.

Add the `respatch_api` firewall **before** your `main` firewall to ensure it has priority:

```
# config/packages/security.yaml
security:
    firewalls:
        respatch_api:
            pattern: ^/_respatch/api
            stateless: true
            custom_authenticators:
                - respatch.authenticator

        # Make sure it's above your main firewall
        main:
            # ...
```

This configuration ensures that all requests starting with `/_respatch/api` are authenticated using the token you provided in the configuration.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance57

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11459248?v=4)[Jozef Môstka](/maintainers/tito10047)[@tito10047](https://github.com/tito10047)

---

Top Contributors

[![tito10047](https://avatars.githubusercontent.com/u/11459248?v=4)](https://github.com/tito10047 "tito10047 (21 commits)")

### Embed Badge

![Health badge](/badges/mostka-sk-respatch-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/mostka-sk-respatch-bundle/health.svg)](https://phpackages.com/packages/mostka-sk-respatch-bundle)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
