PHPackages                             alexmasterov/psysh-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. alexmasterov/psysh-bundle

ActiveSymfony-bundle

alexmasterov/psysh-bundle
=========================

Bundle to integrate REPL PsySH with Symfony projects

1.3.0(6y ago)018.4k↓100%1MITPHPPHP ^7.1.0CI failing

Since Jul 20Pushed 6y agoCompare

[ Source](https://github.com/AlexMasterov/psysh-bundle)[ Packagist](https://packagist.org/packages/alexmasterov/psysh-bundle)[ Docs](https://github.com/AlexMasterov/psysh-bundle)[ RSS](/packages/alexmasterov-psysh-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (5)Versions (5)Used By (0)

PsyshBundle
-----------

[](#psyshbundle)

[![Latest Stable Version](https://camo.githubusercontent.com/c4638fb737e7848d11c1f6b1657ec103e0cad8e36bd1de2d6909a142a5878f05/68747470733a2f2f706f7365722e707567782e6f72672f616c65786d61737465726f762f70737973682d62756e646c652f762f737461626c65)](https://packagist.org/packages/alexmasterov/psysh-bundle)[![Build Status](https://camo.githubusercontent.com/c3fb35f6cb6c3d9228e495f2127eb28a214202c90553ed291be2599d5a6c8ece/68747470733a2f2f7472617669732d63692e6f72672f416c65784d61737465726f762f70737973682d62756e646c652e737667)](https://travis-ci.org/AlexMasterov/psysh-bundle)[![Code Coverage](https://camo.githubusercontent.com/f84bb1cc50eb90d79fcb85608eb79e5e55b6b52839110607b9b30d5069d7fda9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f416c65784d61737465726f762f70737973682d62756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/AlexMasterov/psysh-bundle/?branch=master)[![Code Quality](https://camo.githubusercontent.com/5c3d18e231da674b42a03b11f6e4c8fb7aaa6c3237d542649dbf8c9772131c2f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f416c65784d61737465726f762f70737973682d62756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/AlexMasterov/psysh-bundle/?branch=master)

The bundle fully integrates the [PsySH](http://psysh.org/) into the Symfony framework.

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

[](#installation)

The suggested installation method is via [composer](https://getcomposer.org/):

```
$ composer require alexmasterov/psysh-bundle
```

Add the bundle in your config:

```
// config/bundles.php
return [
    // ...
    AlexMasterov\PsyshBundle\PsyshBundle::class => ['dev' => true],
];
```

Usage
-----

[](#usage)

For PsySH run the following command:

```
$ php bin/console psysh:shell
```

Useful cases
------------

[](#useful-cases)

```
services:
    Controller\:
        resource: '../src/Controller'
        tags: ['psysh.variable']

    Service:
        tags:
            - { name: psysh.variable, var: mail }
```

```
psysh:
  variables:
    - @service
    - { db: PDO }
```

```
$ php bin/console psysh:shell
>>> ls
Variables: $someController, $mail, $someService, $db
```

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

[](#configuration)

Some common options. For a more detailed list, see [wiki](https://github.com/bobthecow/psysh/wiki/Config-options).

OptionType`bracketed_paste``bool``commands``string``config_dir``string``color_mode``enum` {`auto`, `forced`, `disabled`}`data_dir``string``default_includes``array` \[`string`\]`erase_duplicates``bool``error_logging_level``string``history_file``string``history_size``int``manual_db_file``string``pager``string``pcntl``bool``require_semicolons``bool``startup_message``string``unicode``bool``use_tab_completion``bool``matchers``array` \[`string`\]`variables``array` \[`string`\]License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 97.9% 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.

###  Release Activity

Cadence

Every ~301 days

Total

4

Last Release

2312d ago

PHP version history (3 changes)1.0.0PHP 7.1 - 7.2

1.1.0PHP 7.1 - 7.3

1.3.0PHP ^7.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c3a759788edb549b16d53cc92214268ed89b6dbaa8dfa7025c3b5389bd34edf?d=identicon)[AlexMasterov](/maintainers/AlexMasterov)

---

Top Contributors

[![AlexMasterov](https://avatars.githubusercontent.com/u/700213?v=4)](https://github.com/AlexMasterov "AlexMasterov (46 commits)")[![msheakoski](https://avatars.githubusercontent.com/u/4156?v=4)](https://github.com/msheakoski "msheakoski (1 commits)")

---

Tags

debuggerreplshellsymfonysymfony-bundlesymfonybundlepsysh

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alexmasterov-psysh-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/alexmasterov-psysh-bundle/health.svg)](https://phpackages.com/packages/alexmasterov-psysh-bundle)
```

###  Alternatives

[pentatrion/vite-bundle

Vite integration for your Symfony app

2725.3M13](/packages/pentatrion-vite-bundle)[kreait/firebase-bundle

Symfony Bundle for the Firebase Admin SDK

1534.7M2](/packages/kreait-firebase-bundle)[sensiolabs/gotenberg-bundle

A Symfony bundle that provides seamless integration with Gotenberg for generating PDFs and screenshots from various sources (HTML, Markdown, Office documents, URLs) with a clean, builder-based API.

210210.4k2](/packages/sensiolabs-gotenberg-bundle)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)[cmsig/seal-symfony-bundle

An integration of CMS-IG SEAL search abstraction into Symfony Framework.

15195.8k5](/packages/cmsig-seal-symfony-bundle)[sineflow/clamav

ClamAV PHP Client for Symfony

10168.5k](/packages/sineflow-clamav)

PHPackages © 2026

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