kozluoglu/chameleon-bash

Chameleon System 7.1.x 的运行时开发者控制台,交互式调试器

安装: 9

依赖: 0

建议者: 0

安全性: 0

星星: 0

关注者: 1

分支: 0

开放问题: 0

类型:symfony-bundle

dev-main 2023-02-14 09:21 UTC

This package is auto-updated.

Last update: 2024-09-14 12:41:40 UTC


README

composer require kzorluoglu/chameleon-bash:dev-main

在 app/AppKernel.php 的 registerBundles() 下添加 Bundle

    public function registerBundles()
    {
        $bundles = array(
            ..
            ...
            ...
            new \kzorluoglu\ChameleonBash\kzorluogluChameleonBashBundle(),

基本用法

Chameleon System 7.1.x 的运行时开发者控制台,交互式调试器

[kzorluoglu@devbox customer (⎈ |default:default)]$ app/console chameleon_system:shell

Psy Shell v0.11.12 (PHP 7.4.33 — cli) by Justin Hileman
Chameleon System Shell v0.1.1 Hello
> help
  help       Show a list of commands. Type `help [foo]` for information about [foo].      Aliases: ?                     
  ls         List local, instance or class variables, methods and constants.              Aliases: dir                   
  dump       Dump an object or primitive.                                                                                
  doc        Read the documentation for an object, class, constant, method or property.   Aliases: rtfm, man             
  show       Show the code for an object, class, constant, method or property.                                           
  wtf        Show the backtrace of the most recent exception.                             Aliases: last-exception, wtf?  
  whereami   Show where you are in the code.                                                                             
  throw-up   Throw an exception or error out of the Psy Shell.                                                           
  timeit     Profiles with a timer.                                                                                      
  trace      Show the current call stack.                                                                                
  buffer     Show (or clear) the contents of the code input buffer.                       Aliases: buf                   
  clear      Clear the Psy Shell screen.                                                                                 
  edit       Open an external editor. Afterwards, get produced code in input buffer.                                     
  sudo       Evaluate PHP code, bypassing visibility restrictions.                                                       
  history    Show the Psy Shell history.                                                  Aliases: hist                  
  exit       End the current session and return to caller.                                Aliases: quit, q   
...
...

待办事项