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
Requires
- php: >=8.3
- psr/log: ^3.0
- symfony/config: ^7.1
- symfony/console: ^7.1
- symfony/dependency-injection: ^7.1
- symfony/event-dispatcher-contracts: ^3.6
- symfony/filesystem: ^7.1
- symfony/http-kernel: ^7.1
- symfony/process: ^7.1
Requires (Dev)
- doctrine/doctrine-bundle: ^2.13
- doctrine/orm: ^3.3
- nyholm/symfony-bundle-test: ^3.0
- phpstan/extension-installer: ^1.4
- phpstan/phpstan-symfony: ^2.0
- phpunit/phpunit: ^9.5
- symfony/monolog-bundle: ^3.10
- symfony/phpunit-bridge: ^7.1
- symfony/runtime: ^7.2
This package is auto-updated.
Last update: 2025-06-01 00:21:07 UTC
README
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.