level51/silverstripe-sake-more 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

level51/silverstripe-sake-more

最新稳定版本:2.1.0

Composer 安装命令:

composer require level51/silverstripe-sake-more

包简介

SakeMore module for SilverStripe 5

README 文档

README

Module for SilverStripe 5 providing additional command line tools. Check out 1.X releases for SilverStripe 4 support and develop-ss3 branch for SilverStripe 3 support.

Hooks into the default DevelopmentAdmin providing commands/tools under the sake dev/more COMMAND_URL_SEGMENT route.

Commands

  • without specific command: Show info/help including a list of all available commands
  • console: Starts a interactive PHP shell using PsySH
  • sql: Connects to the local mysql client using the default connection details
  • snapshot: Handles system snapshots by utilizing SSPak
  • ... more to come

Extend with custom commands

Due to the modular setup adding custom commands is as easy as creating a new class extending the abstract Level51\SakeMore\Command class. Each sub class will automatically show up in the list of available commands.

It's also possible to extend the abstract Level51\SakeMore\MultiCommand class if your command provides more than one action. In that case the route will be like sake dev/more YOUR_COMMAND YOUR_SUBCOMMAND.

Requirements

  • SilverStripe ^5.0
  • PHP >= 8.0
  • SSPak for the snapshot command

Maintainer

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-04-27