martyn911/yii2-easy-start 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

martyn911/yii2-easy-start

Composer 安装命令:

composer create-project martyn911/yii2-easy-start

包简介

Yii 2 Advanced Easy Start

README 文档

README

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

Сборка для простого старта разработки приложений, основанных на коде с yii2.

В сборке уже настроены основные компоненты и она поможет вам не тратить время, делая ту же работу в каждом проекте.

##DEMO

Frontend: http://yii2-easy-start.ceprey.xyz

Backend: http://admin.yii2-easy-start.ceprey.xyz

administrator role account

Login: admin
Password: admin

manager role account

Login: manager
Password: manager

user role account

Login: user
Password: user123

Screens

REQUIREMENTS

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

  • intl

Installation

Before you begin

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

  2. Install composer-asset-plugin needed for yii assets management

composer global require "fxp/composer-asset-plugin"

Get source code

Download sources

https://github.com/martyn911/yii2-easy-start/archive/master.zip

Or clone repository manually

git clone https://github.com/martyn911/yii2-easy-start.git

Install composer dependencies

composer install

Get source code via Composer

You can install this application template with composer using the following command:

composer create-project --prefer-dist --stability=dev martyn911/yii2-easy-start

Setup application

  1. Copy .env.dist to .env in the project root.

  2. Adjust settings in .env file

    • Set debug mode and your current environment
    YII_DEBUG   = true
    YII_ENV     = dev
    
    • Set DB configuration
    DB_DSN           = mysql:host=127.0.0.1;port=3306;dbname=yii2-easy-start
    DB_USERNAME      = user
    DB_PASSWORD      = password
    
    • Set application canonical urls
    frontendUrl = http://yii2-easy-start.dev
    backendUrl = http://admin.yii2-easy-start.dev
    
    • Set email configuration
    #from
    ROBOT_EMAIL = robot@yii2-easy-start.dev
    #amin mail
    ADMIN_EMAIL = admin@yii2-easy-start.dev
    
  3. Run in command line

php console/yii app/setup

Configure your web server

Copy vhost.conf.dist to vhost.conf, change it with your local settings and copy (symlink) it to nginx sites-enabled directory. Or configure your web server with three different web roots:

- yii2-easy-start.dev => /path/to/yii2-easy-start.dev/frontend/web
- admin.yii2-easy-start.dev => /path/to/yii2-easy-start.dev/backend/web
That`s all. After provision application will be accessible on http://yii2-easy-start.dev

Demo data

Demo Users

Login: admin
Password: admin
Login: manager
Password: manager
Login: user
Password: user123

##Have any questions? mail to martyn911@i.ua

###NOTE This template was created mostly for developers NOT for end users. This is a point where you can begin your application, rather than creating it from scratch. Good luck!

martyn911/yii2-easy-start 适用场景与选型建议

martyn911/yii2-easy-start 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 12 次下载、GitHub Stars 达 0, 最近一次更新时间为 2017 年 03 月 04 日, 在 PHP 生态内属于活跃度较高的组件。

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

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

围绕 martyn911/yii2-easy-start 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

  • 总下载量: 12
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-03-04