sourecode/screen-bundle

A Symfony bundle for managing screen processes.

Installs: 107

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:symfony-bundle

v0.2.0 2025-05-31 18:25 UTC

This package is auto-updated.

Last update: 2025-06-01 00:21:07 UTC


README

Packagist Version Downloads CI codecov Mutation testing badge

This bundle provides to manage GNU Screen sessions in Symfony applications.

Installation

Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.

Applications that use Symfony Flex

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

composer require sourecode/screen-bundle

Applications that don't use Symfony Flex

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 sourecode/screen-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 [
    // ...
    \SoureCode\Bundle\Screen\SoureCodeScreenBundle::class => ['all' => true],
];

Config

# config/packages/soure_code_screen.yaml
soure_code_screen:
  screens:
    worker0:
      command: [ "php", "bin/console", "messenger:consume", "async", "--limit", "10", "-vv" ]
    worker1:
      command: [ "php", "bin/console", "messenger:consume", "async", "--limit", "10", "-vv" ]

Development

Note: To run infection threaded the tests are written to be random, this causes to generate a lot of log files in the tests/app/var/log directory.