承接 potherca/cli2web 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

potherca/cli2web

Composer 安装命令:

composer require potherca/cli2web

包简介

Automated web UI for any CLI command

README 文档

README

FOSSA Status

Introduction

The aim of this project is to make it trivial to expose a shell script("command-line script" or "CLI script") as a web application.

This library offers conversion, logic and templates to gather user input, feed it to a shell script and render the output in the browser.

All that has to be provided is a shell script and configuration. Optionally logic can be added to compliment the input, output or render process.

Requirements

  • As this is a web application, it is assumed a web-server is available.
  • This project is written in PHP. Any actively support version is fine.

Installation

Installation is done using composer:

composer require potherca/cli2web

As this is a web application, it is assumed a web-server is available.

Usage

  • Create an index file in a public facing directory in the web-server
  • Include the cli2web engine
  • Feed the engine a configuration
  • Done.

For more advanced scenario's any of the following steps can also be taken:

  • Add logic that is called with the user input
    (instead of the CLI script being called directly)
  • Add logic that is called with the shell script output
    (instead of the output being displayed directly, "raw", as-is)
  • Add custom UI to display the returned output (instead of the output being displayed as plain-text)

License

FOSSA Status

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2018-10-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固