enlitepro / enlite-russell-interpreter
Installs: 632
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
pkg:composer/enlitepro/enlite-russell-interpreter
Requires
- php: >=5.4
- enlitepro/russell-interpreter: ~1.0.3
- zendframework/zendframework: ~2.2
Requires (Dev)
- enlitepro/zf2-scaffold: ~1.0.0
This package is not auto-updated.
Last update: 2025-09-27 19:06:40 UTC
README
The ZF2 module for the module RussellInterpreter (https://github.com/enlitepro/russell-interpreter)
INSTALL
- The recommended way to install is through composer.
{ "require": { "enlitepro/enlite-russellInterpreter": "1.0.*" } }
-
Add
EnliteRussellInterpreter
to yourconfig/application.config.php
to enable module. -
Register interpreter in
InterpreterAbstractFactory
:
'EnliteRussellInterpreters' => [ 'youInterpreter' => [ 'use_default_extensions' => true, 'extensions' => [ 'myFavoriteFunction' => ['synonym1', 'synonym2'] ] ] ],
USAGE
New functions you must register in ExtensionsManager
in EnliteRussellInterpreterExtensionsManager
section:
'EnliteRussellInterpreterExtensionsManager' => array( 'invokables' => array( 'myFavoriteFunction' => 'MyModule\Extension\MyFavoriteFunction', ) )