Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 596 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 596 Bytes

ZF1-Psysh

This is a very simple integration between psysh and ZF1

Installation

composer require giorgiolucca/zf1-psysh

Example

Type command

$ vendor/bin/zf1-psysh

And enjoy!

>>> ls # To list scope variables ($bootstrap, $config, $registry)
>>> $doctrine = $bootstrap->bootstrap('doctrine')->getResource('doctrine') # If you integrate your application with Doctrine ORM (like one resource)
>>> $registryCache = $registry->get('cache'); # If you register one dependency with this name