elefant/app-boris

Boris REPL for the Elefant CMS

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 0

Open Issues: 0

Type:elefant-app

dev-master 2015-08-13 17:05 UTC

This package is auto-updated.

Last update: 2024-10-25 07:47:45 UTC


README

This is a simple app that adds the Boris REPL (read-eval-print-loop) to the Elefant CMS for experimenting with PHP code in the terminal in an interactive way.

Note: Boris requires PHP's pcntl extension.

1. Install the Boris app via:

composer.phar require elefant/app-boris

2. Call via:

    php index.php boris

The following Elefant objects are available to the REPL for inspection:

  • $cache
  • $controller
  • $i18n
  • $page
  • $tpl