vitexsoftware / ease-twbootstrap4-widgets
EasePHP 框架插件和代码片段
1.3
2021-03-11 15:15 UTC
Requires
Requires (Dev)
- phpunit/phpunit: ^8
README
EasePHP Twitter Bootstrap4 Widgets
面向对象 PHP 框架,易于快速编写小型/中型应用程序。
包含组件
MainPageMenu
框架大图标
$mpmenu = new \Ease\ui\MainPageMenu(); $mpmenu->addMenuItem('logo.png', 'Caption', 'https://url/');
TwitterBootstrap Toggle
Ease 支持 http://bootstrapswitch.com/
new Ease\ui\Toggle('swname', true, 1,['onText' => 'YES', 'offText' => 'NO']);
带眼睛的密码输入
PasswordInputShowHide();
Font Awesome 图标
FaIcon();
浏览历史
new BrowsingHistory();
安装
Composer
composer require vitexsoftware/ease-twbootstrap4-widgets
旧版本及其要求 https://packagist.org.cn/packages/vitexsoftware/
对于 Debian, Ubuntu 及其同类,请使用 repo
sudo apt install lsb-release wget echo "deb http://repo.vitexsoftware.cz $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list sudo wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.cz/keyring.gpg sudo apt update sudo apt install php-vitexsoftware-ease-bootstrap4-widgets
在这种情况下,请将以下内容添加到您的应用 composer.json 中
"require": {
"ease-bricks": "*"
},
"repositories": [
{
"type": "path",
"url": "/usr/share/php/EaseCore",
"options": {
"symlink": true
}
},
{
"type": "path",
"url": "/usr/share/php/EaseTWB4",
"options": {
"symlink": true
}
},
{
"type": "path",
"url": "/usr/share/php/EaseTWB4Widgets",
"options": {
"symlink": true
}
}
]
链接
主页: https://www.vitexsoftware.cz/ease.php
GitHub: https://github.com/VitexSoftware/php-ease-bootstrap4-widgets
PhpDocumentor: https://www.vitexsoftware.cz/php-ease-bootstrap4-widgets/