giorgiolucca / zf1-psysh
Zend Framework 1 psysh integration
Installs: 160
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/giorgiolucca/zf1-psysh
Requires
- php: >=5.3.0
- psy/psysh: @stable
- zendframework/zendframework1: ~1.12
Requires (Dev)
- phpunit/phpunit: ~4.5
This package is not auto-updated.
Last update: 2025-10-12 06:15:18 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