定制 ericpugh/jedi-console 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ericpugh/jedi-console

Composer 安装命令:

composer require ericpugh/jedi-console

包简介

A Drupal module providing utilities for developing with Lando.

README 文档

README

A Drupal module providing utilities for developing with Lando

Install

It's recommend to install in a Drupal project with composer.

composer require ericpugh/jedi-console --dev

Utilities

  • Alter the core Syslog service to make Drupal log events available within lando logs command.

This makes it easier to work with logs, for example you could change the "identity" in Drupal Syslog's settings to "JEDI" and then follow the logs with a command like this:

lando logs -f -s appserver | grep -i 'jedi'
  • A class to retrieve Lando environment information.

Example:

$lando = \Drupal\jedi_console\Lando::getInfo();
$nodeVersion = $lando['nodejs']['version'];
echo $nodeVersion;
// outputs: 10

Console Commands

Jedi console provides several Drupal Console commands for common tasks while working in a local environment.

  • drupal jedi:pull pulls a remote database, with an arguement for the Drush site alias. (note: Expects Drush aliases to be properly configured, see example.)
  • drupal jedi:up Updates a local site. Runs cache clear, update database, and configuration import.
  • drupal jedi:dev get the modules listed in Drupal's $settings['config_exclude_modules'] and enable those modules.

Please create and issue or submit a Merge Request for any improvements or ideas for useful features.

统计信息

  • 总下载量: 105
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2020-04-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固