alexmasterov/psysh-bundle
最新稳定版本:1.3.0
Composer 安装命令:
composer require alexmasterov/psysh-bundle
包简介
Bundle to integrate REPL PsySH with Symfony projects
README 文档
README
The bundle fully integrates the PsySH into the Symfony framework.
Installation
The suggested installation method is via composer:
$ composer require alexmasterov/psysh-bundle
Add the bundle in your config:
// config/bundles.php return [ // ... AlexMasterov\PsyshBundle\PsyshBundle::class => ['dev' => true], ];
Usage
For PsySH run the following command:
$ php bin/console psysh:shell
Useful cases
services: Controller\: resource: '../src/Controller' tags: ['psysh.variable'] Service: tags: - { name: psysh.variable, var: mail }
psysh: variables: - @service - { db: PDO }
$ php bin/console psysh:shell >>> ls Variables: $someController, $mail, $someService, $db
Configuration
Some common options. For a more detailed list, see wiki.
| Option | Type |
|---|---|
bracketed_paste |
bool |
commands |
string |
config_dir |
string |
color_mode |
enum {auto, forced, disabled} |
data_dir |
string |
default_includes |
array [string] |
erase_duplicates |
bool |
error_logging_level |
string |
history_file |
string |
history_size |
int |
manual_db_file |
string |
pager |
string |
pcntl |
bool |
require_semicolons |
bool |
startup_message |
string |
unicode |
bool |
use_tab_completion |
bool |
matchers |
array [string] |
variables |
array [string] |
License
统计信息
- 总下载量: 18.36k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-07-20