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-11-10 01:24:08 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