adyoi / yii2-webapps
Yii2 Web 应用程序
2.2.1
2023-12-11 10:47 UTC
This package is auto-updated.
Last update: 2024-10-02 23:06:27 UTC
README
Yii2 Web 应用程序是一个面向 yii2 开发者社区的开源项目,它具备快速创建应用程序所需的功能,并提供了额外的安全性。
链接演示
前端:https://yii2-web-apps.000webhostapp.com/
后端:https://yii2-web-apps.000webhostapp.com/backend
本项目使用以下技术构建
AdminLTE 3 https://adminlte.cn/docs/3.0
Yii2 最新版本 https://yiiframework.cn/doc/guide/2.0/en
Bootstrap 4 https://bootstrap.ac.cn/docs/4.0/getting-started/introduction
成为开源协作贡献者
https://opencollective.com/yiisoft
安装
视频:https://#/100009334052956/videos/953630405682056/
$ git clone https://github.com/adyoi/yii2-webapps.git webapps
$ cd webapps
$ cd system
$ chmod +x ./init
$ ./init
$ composer update
创建目录 Assets
Default Directory Frontend / Default Directory Backend /backend # Change Directory Backend $ sudo ./chbackend.sh
$ sudo ./mkassets.sh
配置
-
导入 webapps.sql
-
/system/common/config/main-local.php
<?php return [ 'components' => [ 'application' => [ 'class' => 'common\components\Application', ], 'db' => [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=localhost;dbname=webapps', 'username' => 'root', 'password' => '', 'charset' => 'utf8', ], 'db2' => [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=localhost;dbname=webapps_table', 'username' => 'root', 'password' => '', 'charset' => 'utf8', ], ... ... ], ];
- /system/common/config/param-local.php
<?php return [ 'bsVersion' => '4.x', 'bsDependencyEnabled' => false, 'upload' => '/images/upload/', ];
- /system/common/config/main.php
<?php return [ // Language 'language' => 'id_ID', // Timezone 'timeZone' => 'Asia/Jakarta', ... ... ];
- /backend/.htaccess
RewriteEngine on # link generate to https:///webapps/backend RewriteBase /webapps/backend ... ...
- 默认账户
// User Access username : root password : root // Demo Menu username : menu password : menu // User username : admin password : admin username : user password : user
- 浏览器
Frontend : http:///webapps/ Backend : http:///webapps/backend
版本 2.2
版本 2.1
版本 2.0
用户菜单级别
API 支持
版本 1.0
支持我 :) 🍔🍟🍕🍱🥪🥑🥛💻
- PAYPAL
- BANK BCA (INDONESIA)
账号号码:4740919909
账户名称:ADI APRIYANTO