vitexsoftware/ease-core-bricks
Composer 安装命令:
composer require vitexsoftware/ease-core-bricks
包简介
EasePHP framework addons and code snipplets
README 文档
README
EasePHP Bricks
Object oriented PHP Framework for easy&fast writing small/middle sized apps.
Bricks Included
OldTerminal
GDPR Logger
Log all GDPR related information into SQL table
MainPageMenu
Well framed large icons
$mpmenu = new \Ease\ui\MainPageMenu(); $mpmenu->addMenuItem('logo.png', 'Caption', 'https://url/');
Boolean LED
Show light or dark circle in given color.
new \Ease\ui\BooleanLED(false, 'green');
Tree View
Ease Support for http://jonmiles.github.io/bootstrap-treeview/ A simple and elegant solution to displaying hierarchical tree structures (i.e. a Tree View)
new \Ease\ui\TBWTreeView('tree', 'data: getTree()');
Locale Select
Simple chooser of availble locales
new \Ease\ui\LangSelect()
Live Age
Show live age based on unix timestamp
new \Ease\ui\LiveAge(1530280004);
Sign In form
Classic form with username input password input and submit button
new \Ease\ui\SignInForm();
Password Input
With eye icon to show plaintext
new PasswordInput($this->passwordField);
Browsing History
new BrowsingHistory();
Sticky note
new StickyNote();
Selectizer trait
Apply Selectize.js to InputBox or Select
class Selector extends \Ease\Html\SelectTag { use \Ease\ui\Selectizer; } $properties = [ 'valueField' => 'value', 'labelField' => 'key', 'searchField' => ['key', 'value'] ]; $options = [ ['key' => 'red', 'value' => 'Red'], ['key' => 'blue', 'value' => 'Blue'], ['key' => 'green', 'value' => 'Green'], ['key' => 'yellow', 'value' => 'Yellow'], ]; $s = new Selector('selector'); $s->selectize($properties, $options);
Installation
Composer:
composer require vitexsoftware/ease-core-bricks
Older versions and its requirements https://packagist.org/packages/vitexsoftware/ease-bricks
For Debian, Ubuntu & friends please use repo:
sudo apt install lsb-release wget apt-transport-https bzip2 wget -qO- https://repo.vitexsoftware.com/keyring.gpg | sudo tee /etc/apt/trusted.gpg.d/vitexsoftware.gpg echo "deb [signed-by=/etc/apt/trusted.gpg.d/vitexsoftware.gpg] https://repo.vitexsoftware.com $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list sudo apt update sudo apt install php-vitexsoftware-ease-bricks
In this case please add this to your app composer.json:
"require": { "deb/ease-bricks": "*" }, "repositories": [ { "type": "path", "url": "/usr/share/php/EaseCore", "options": { "symlink": true } } ]
Note
All classes extendig booststrap classed was moved to separate libraries
vitexsoftware/ease-core-bricks 适用场景与选型建议
vitexsoftware/ease-core-bricks 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 402 次下载、GitHub Stars 达 4, 最近一次更新时间为 2019 年 10 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 vitexsoftware/ease-core-bricks 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 vitexsoftware/ease-core-bricks 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 402
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2019-10-14











