定制 abhi1693/yii2-app-advanced-startup-kit 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

abhi1693/yii2-app-advanced-startup-kit

Composer 安装命令:

composer create-project abhi1693/yii2-app-advanced-startup-kit

包简介

Yii 2 Practical Advanced Application Template (Startup Kit)

README 文档

README

Dependency Status Code Climate Latest Stable Version Total Downloads

This is Yii2 start application template. It was created and developing as a fast start for building an advanced sites based on Yii2. It covers typical use cases for a new project and will help you not to waste your time doing the same work in every project

Note: The application is still under development. Use it at your own risk

DONATE

Any contribution helps us to improve Yii2 Startup Kit, if you want to help us too but don't want to get into coding, we won't say no to PayPal

paypal

FEATURES

Note: Some features are still under development. Please use it at your own risk

  • Application Auto Installer includes:
    • Application Basic Setup such as Application Name, Cache type, backend/frontend theme etc.
    • Admin Account setup
    • Mailer Component setup
    • Auto migrate required tables required by the the application
  • Based on yii2-advanced application template
  • Beautiful and open source dashboard theme for backend
  • Sign in, Sign up, profile(avatar, locale, personal data) etc
  • OAuth authorization
  • User management: CRUD
  • RBAC
  • Yii2 log web interface
  • Application events component
  • System information web interface
  • many other features coming soon

REQUIREMENTS

The minimum requirement by this application template that your Web server supports PHP 5.4.0.

INSTALLATION

Install via Composer

If you do not have Composer, you may install it by following the instructions at getcomposer.org.

You can then install the application using the following command:

composer global require "fxp/composer-asset-plugin:1.0.0"
composer create-project --prefer-dist --stability=dev abhi1693/yii2-app-advanced-startup-kit demo-app

Install from GitHub

Extract the github archive file or clone this repository.

git clone https://github.com/abhi1693/yii2-app-advanced-startup-kit.git

After extraction run

php composer.phar install

GETTING STARTED

After you install the application, just run init command (without altering anything in the environment folder) and select your environment then go to http://yourhost/your-app/ and the application will help you setup everything else.

FAQ

See FAQ for more details.

TESTING

Install additional composer packages:

  • php composer.phar require --dev "codeception/codeception: 1.8.*@dev" "codeception/specify: *" "codeception/verify: *"

This application boilerplate use database in testing, so you should create three databases that are used in tests:

  • yii2_practical_unit - database for unit tests;
  • yii2_practical_functional - database for functional tests;
  • yii2_practical_acceptance - database for acceptance tests.

To make your database up to date, you can run in needed test folder yii migrate, for example if you are starting from frontend tests then you should run yii migrate in each suite folder acceptance, functional, unit it will upgrade your database to the last state according migrations.

To be able to run acceptance tests you need a running webserver. For this you can use the php builtin server and run it in the directory where your main project folder is located. For example if your application is located in /www/practical all you need to is: cd /www and then php -S 127.0.0.1:8080 because the default configuration of acceptance tests expects the url of the application to be /practical/. If you already have a server configured or your application is not located in a folder called practical, you may need to adjust the TEST_ENTRY_URL in frontend/tests/_bootstrap.php and backend/tests/_bootstrap.php.

After that is done you should be able to run your tests, for example to run frontend tests do:

  • cd frontend
  • ../vendor/bin/codecept build
  • ../vendor/bin/codecept run

In similar way you can run tests for other application tiers - backend, console, common.

You also can adjust you application suite configs and _bootstrap.php settings to use other urls and files, as it is can be done in yii2-basic.

Dependencies

Donate

Any contribution helps us to improve Yii2 Startup Kit, if you want to help us too but don't want to get into coding, we won't say no to PayPal

paypal

abhi1693/yii2-app-advanced-startup-kit 适用场景与选型建议

abhi1693/yii2-app-advanced-startup-kit 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.29k 次下载、GitHub Stars 达 30, 最近一次更新时间为 2015 年 01 月 31 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「framework」 「application template」 「advanced」 「yii2」 「practical」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 abhi1693/yii2-app-advanced-startup-kit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 abhi1693/yii2-app-advanced-startup-kit 我们能提供哪些服务?
定制开发 / 二次开发

基于 abhi1693/yii2-app-advanced-startup-kit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 1.29k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 30
  • 点击次数: 17
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 30
  • Watchers: 11
  • Forks: 22
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-31