giorgiolucca/zf1-psysh

Zend Framework 1 psysh integration

dev-master 2020-04-08 17:50 UTC

This package is not auto-updated.

Last update: 2024-05-11 23:13:26 UTC


README

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