crisu83 / yii-app
使用Yii PHP框架构建您的Web应用的绝佳方式。
1.4.0
2014-02-26 13:35 UTC
Requires
- php: >=5.3.0
- crisu83/yii-composer: dev-master
- crisu83/yii-consoletools: 1.0.*
- crisu83/yiistrap: 1.2.*
- phpnode/yiipassword: dev-master
- yiisoft/yii: >=1.1.14
Requires (Dev)
- codeception/codeception: @stable
- malyshev/yii-debug-toolbar: dev-master
Suggests
- crisu83/yii-arbehaviors: 1.1.*
- crisu83/yii-auth: 1.6.*
- crisu83/yii-filemanager: 1.8.*
- crisu83/yii-imagemanager: 1.11.*
- crisu83/yii-sentry: 1.3.*
- crisu83/yii-seo: dev-master
- nordsoftware/yii-audit: 1.1.*
- nordsoftware/yii-emailer: 1.2.*
This package is auto-updated.
Last update: 2024-08-29 03:47:34 UTC
README
使用Yii PHP框架构建您的Web应用的绝佳方式。
设置
- 按照这里的说明设置Git。
- 按照这里的说明下载并安装Composer。
- 运行
composer create-project crisu83/yii-app [APP-NAME]
,Composer将为您创建项目。 - 浏览
composer.json
文件,移除您不需要的依赖。 - 按照这里的说明下载并安装Node.js。
- 运行
npm install
下载Node.js的依赖。 - 更新
app/config
中的配置以满足您的需求。 - 运行
grunt
启动Grunt,它将编译您的LESS并部署JavaScript文件。 - 运行
yiic environment dev
激活开发环境。 - 完成!导航到
web/index.php
查看您的应用。
使用Vagrant设置(可选)
- 按照这里的说明下载并安装Vagrant。
- 从这里下载VirtualBox 4.2.12并运行安装程序。
- 如果您使用的是Windows,您需要以管理员身份运行VirtualBox。
- 按照这里的说明设置Git。
- 按照这里的说明下载并安装Composer。
- 运行
composer create-project crisu83/yii-app [APP-NAME]
,Composer将为您创建项目。 - 运行
vagrant up
设置您的开发环境。 - 完成!导航到
http://localhost:8080/index.php
查看您的应用。
有关Composer、Grunt和Vagrant的更多信息
扩展
以下扩展是yii-app的一部分
- Audit https://github.com/nordsoftware/yii-audit
- Auth https://github.com/Crisu83/yii-auth
- Debug toolbar https://github.com/malyshev/yii-debug-toolbar
- Console tools https://github.com/Crisu83/yii-consoletools
- Emailer https://github.com/nordsoftware/yii-emailer
- File manager https://github.com/Crisu83/yii-filemanager
- Image manager https://github.com/Crisu83/yii-imagemanager
- Password https://github.com/phpnode/YiiPassword
- Seo https://github.com/Crisu83/yii-seo
- Yiistrap https://github.com/Crisu83/yiistrap
请查阅扩展文档以获取更多信息。