vpa/frames-console 问题修复 & 功能扩展

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

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

vpa/frames-console

最新稳定版本:v0.4.0

Composer 安装命令:

composer require vpa/frames-console

包简介

Beauty frames for text objects in CLI console

README 文档

README

Frames-console

Latest Stable Version Latest Unstable Version License PHP Version Require Scrutinizer Code Quality Code Coverage Build Status Code Intelligence Status

A flexible set of components that allow you to frame various content in the console. Supports the display of text, block elements and tables, including nested ones.

Install

composer require vpa/frames-console

Get Started

If you want to display multiple elements - we recommend using the Page root element. You can initialize the first element yourself:

use VPA\Console\Shell;
use VPA\Console\FrameConsoleConfig;
use VPA\Console\Glyphs\Page;

require_once(__DIR__ . '/../vendor/autoload.php');

$shell = new Shell();
$config = new FrameConsoleConfig($shell);
$page = new Page($config);

or use DI Container:

use VPA\DI\Container;
use VPA\Console\FrameConsoleConfig;
use VPA\Console\Glyphs\Page;

require_once(__DIR__ . '/../vendor/autoload.php');

$di = new Container();
$di->registerContainers([
    'VPA\Console\FrameConfigInterface' => FrameConsoleConfig::class,
]);

$page = $di->get(Page::class);

Documentation

Base elements:

  1. Text element
  2. DIV element
  3. Table element

Components:

  1. Table1D element

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: AGPL-3.0-or-later
  • 更新时间: 2022-09-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固