克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
BSD-3-Clause

#yii2-advanced YII2框架搭建多语言通用后台管理系统 输入图片说明

1、用git clone或者下载后 执行composer install
2、修改.env.dist为.env并且配置数据库
3、直接导入docs/sql下的sql文件
4、修改apache目录到web/admin 访问/进入后台   或者配置目录到web 访问/admin 进入后台 账号 admini/admin 密码111111

#注意 ##composer 到项目根目录执行
composer config -g repo.packagist composer https://packagist.phpcomposer.com
composer self-update
composer global require "fxp/composer-asset-plugin:~1.2.0"
composer install
遇到输入github网站token时可以执行
composer config github-oauth.github.com 你的token

##apache vhosts.conf

<VirtualHost 127.0.0.2:80>
    ServerName test
    ServerAdmin webmaster@example.com
    DocumentRoot "E:\git\test\yii2-advanced\web\admin"
	<Directory "E:\git\test\yii2-advanced\web\admin">
		AllowOverride All
		Options FollowSymLinks 
		Require all granted
		Allow from all
	</Directory>
</VirtualHost>

.env

修改.env文件请用cmd命令修改如下
ren .env.dist .env

The Yii framework is free software. It is released under the terms of the following BSD License. Copyright © 2008 by Yii Software LLC (http://www.yiisoft.com) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Yii Software LLC nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

简介

YII2框架搭建多语言通用后台管理系统 这里只做更新 展开 收起
PHP
BSD-3-Clause
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化