PHP code example of enlitepro / enlite-russell-interpreter

1. Go to this page and download the library: Download enlitepro/enlite-russell-interpreter library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

enlitepro / enlite-russell-interpreter example snippets


'EnliteRussellInterpreters' => [
        'youInterpreter' => [
            'use_default_extensions' => true,
            'extensions' => [
                'myFavoriteFunction' => ['synonym1', 'synonym2']
            ]
        ]
    ],

'EnliteRussellInterpreterExtensionsManager' => array(
        'invokables' => array(
            'myFavoriteFunction' => 'MyModule\Extension\MyFavoriteFunction',
        )
    )