Download the PHP package myzero1/yii2-theme-layui without Composer
On this page you can find all versions of the php package myzero1/yii2-theme-layui. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download myzero1/yii2-theme-layui
More information about myzero1/yii2-theme-layui
Files in myzero1/yii2-theme-layui
Package yii2-theme-layui
Short Description Simple captcha for yii2.Just add the module in config file and use the widget.
License BSD-3-Clause
Informations about the package yii2-theme-layui
yii2-theme-layui
yii2-theme-layui,based on BrotherMa/layuicms2.0 and yiisoft/yii2-gii
Show time
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require-dev section of your composer.json
file.
Setting
Once the extension is installed, simply modify your application configuration as follows:
in main.php
in main-local.php
setting in module
in the main.php of module
Usage
You can then access home page to watch the theme.
You can then access gii page to watch the crud.
select theme
-
use layui
You show set the layout as layout in site Controller for index page,in
SiteController
as flowlling, in view:
use plugins
-
Add plug-ins to requirements
Just add code as flowlling, in view:
Optional plug-in
-
use echart
Just add code as flowlling, in view:
-
use wysihtml5
Just add code as flowlling, in view:
You can also use the advanced wysiwyg tool, yiidoc/yii2-redactor If you want to upload a file,you can try this widget,kartik-v/yii2-widget-fileinput You can combine yiidoc/yii2-redactor and kartik-v/yii2-widget-fileinput together.
-
use ztree
use ztree,in ul. You can set data-provide="z1ztree" to use it and set data-z1ztree-config='{...} to set it,you can set the primary parameter of ztree in data-z1ztree-config. Just add code as flowlling, in view:
use ztree by default,in input.Just add code as flowlling, in view:
use ztree without parents,in input.Just add code as flowlling, in view:
use ztree by checkbox .Just add code as flowlling, in view:
-
use SwitchAsset
Just add code as flowlling, in view: