aplia / ez-legacy-shell
Integration of PsySh and eZ publish legacy
Installs: 239
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/aplia/ez-legacy-shell
Requires
- php: >=5.3
- composer/composer: >=1.0
- psy/psysh: @stable
README
This an integration of PsySh and the eZ publish legacy kernel. It initializes the kernel and starts a new PsySh.
This is similar to the ezsh
project https://github.com/lolautruche/ezsh,
but does not require the new eZ publish stack.
The shell has some additional variables related to eZ publish:
kernel
- The current kernel instance.user
- The currently logged in user, usually admin.db
- The current db instance.site_ini
- The INI instance forsite.ini
.
Also if the Starter-Bootstrap is available it also makes these variables available:
app
- The base application instance.config
- The base configuration instance.
Installation
composer require aplia/ez-legacy-shell:@stable
Usage
Start the shell from the vendor bin folder.
vendor/bin/ezpsh