https://github.com/sourecode/screenbundle
This bundle provides to manage GNU Screen sessions in Symfony applications.
https://github.com/sourecode/screenbundle
gnu-screen symfony-bundle
Last synced: 13 days ago
JSON representation
This bundle provides to manage GNU Screen sessions in Symfony applications.
- Host: GitHub
- URL: https://github.com/sourecode/screenbundle
- Owner: SoureCode
- License: mit
- Created: 2024-11-18T06:18:49.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-01T00:21:05.000Z (10 months ago)
- Last Synced: 2025-06-29T09:18:56.150Z (9 months ago)
- Topics: gnu-screen, symfony-bundle
- Language: PHP
- Homepage:
- Size: 112 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sourecode/screen-bundle
[](https://packagist.org/packages/sourecode/screen-bundle)
[](https://packagist.org/packages/sourecode/screen-bundle)
[](https://github.com/SoureCode/ScreenBundle/actions/workflows/ci.yml)
[](https://codecov.io/gh/SoureCode/ScreenBundle)
[](https://dashboard.stryker-mutator.io/reports/github.com/SoureCode/ScreenBundle/master)
This bundle provides to manage GNU Screen sessions in Symfony applications.
- [License](./LICENSE)
## 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
Open a command console, enter your project directory and execute:
```console
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:
```console
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:
```php
// config/bundles.php
return [
// ...
\SoureCode\Bundle\Screen\SoureCodeScreenBundle::class => ['all' => true],
];
```
## Config
```yaml
# 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.