Stars: 187
Forks: 20
Pull Requests: 1
Issues: 5
Watchers: 9
Last Updated: 2020-03-28 06:36:45
An enterprise application based on yii2 basic template
License: Other
Languages: PHP, CSS, JavaScript, Batchfile
This is a cms based on yii2 basic template, you can use it to build you own enterprise web site.
assets contains all assets files published by Yii2 assetsManager, like js, css, font file and so on.
protected
core/
commands/ contains all commands.
components/ contains all common components.
config/ contains all config files.
libs/ contains common helpers.
messages/ contains common translation files.
migrations/ contains common migration files.
model/ contains common models.
modules/ contains all core module, such as admin, file, installer module and so on.
widgets/ contains all common widgets.
modules/ contains all custom created modules.
runtime/ contains all runtime files generated by application.
vendor/ contains all components and extenstions created by composer.
static
css/ contains some css.
img/ contains some img.
js/ contains some js.
themes
default/ contains application default themes.
tools/
gulp/ contains js and css compress tool gulp.
uploads/ contains all upload files.
The online backend demo username:admin password:123456 (Please don't update the admin user)
1, Update composer asset plugin.
$ composer global require "fxp/composer-asset-plugin:*"
2, Install yii2 cms code.
$ composer create-project --prefer-dist weison-tech/yii2-cms cms
3, Create database
4, Config you virtual host so that you can visit you site.
5, According to the installation wizard step by step installation.
6, If you use application in product environment, please change the index.php who stored in root folder. when in product environment,you can compress all js and css file to one file.
7, Enter the management background configuration permissions.
8,After the permissions are configured, please modify the protected/core/config/common.php file and comment 'admin/rbac/*' under the 'notCheckPermissionAction' configuration item.
1, First of all, you should install node js in your computer environment.
2, Install dependencies for this application.
$ cd tools/gulp
$ npm install
3, Use yii2 asset command to compress.
$ cd protected
$ php yii asset core/config/asset.php core/config/assets-prod.php
4, Update you application index file to production environment.
Adminlte template for admin theme.
RBAC management
I18N
News management system
Products management system
...
Install
Frontend home page
Contact page
Use adminlte as theme, use layerui to define alert, category tree can fold.
Inline editable
Multiple image upload,Drag and drop sort
Change theme
Change language
Wechat qrcode
If you want help author to buy pizzas.
Wechat Reward Code