ameenross/psysh-bundle

A port of the PHP REPL PsySH for Symfony 2.x.

Installs: 538

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 32

Type:symfony-bundle

v2.0.4 2018-04-12 10:51 UTC

This package is auto-updated.

Last update: 2024-10-24 05:38:56 UTC


README

Intro

When trying to install the Psysh Bundle from Theo Fidry in a Symfony 2.3 project, I ran into a bug. Since Theo Fidry only seems to maintain a newer version of the bundle (he only has a master branch), I decided to fork.

Install

composer require --dev ameenross/psysh-bundle

Then, enable the bundle by updating your app/AppKernel.php file to enable the bundle:

<?php
// app/AppKernel.php

public function registerBundles()
{
    //...

    if (in_array($this->getEnvironment(), ['dev', 'test'])) {
        //...
        $bundles[] = new Fidry\PsyshBundle\PsyshBundle();
    }

    return $bundles;
}