2017 © Pedro Peláez
 

symfony-bundle boris-bundle

This Bundle provide REPL shell in application context for symfony console

image

floriansemm/boris-bundle

This Bundle provide REPL shell in application context for symfony console

  • Thursday, December 17, 2015
  • by floriansemm
  • Repository
  • 2 Watchers
  • 2 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 2 Versions
  • 13 % Grown

The README.md

Symfony Boris bundle

Do you ever want to call one of your application services to try something out? Then this bundle could be something for you. With this bundle you can call Symfony services directly in your console., (*1)

Overview

Provide REPL shell in application context with Symfony console, (*2)

Instalation

"require-dev": {
    "floriansemm/boris-bundle": "1.*"
},

Usage

Initialize the interactive shell prompt, (*3)

php app/console repl

Your console should now look like this, (*4)

[1] Symfony-2.6.3 - app/dev/debug>

Now let's call doctrine and select a entity:, (*5)

[1] Symfony-2.6.3 - app/dev/debug> $postRepository = $container->get('doctrine')->getRepository('AcmeDemoBundle:Post');
[2] Symfony-2.6.3 - app/dev/debug> $postRepository->find('1');
// object(Acme\DemoBundle\Entity\Post)(
//
// )

The Versions

17/12 2015

dev-master

9999999-dev

This Bundle provide REPL shell in application context for symfony console

  Sources   Download

MIT

The Requires

 

by Florian Semm

07/10 2013

1.0

1.0.0.0

This Bundle provide REPL shell in application context for symfony console

  Sources   Download

MIT

The Requires

 

by Anton Pogonets