PHPackages                             martyn911/yii2-easy-start - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. martyn911/yii2-easy-start

ActiveProject[Framework](/categories/framework)

martyn911/yii2-easy-start
=========================

Yii 2 Advanced Easy Start

1.0.0(9y ago)012MITPHPPHP &gt;=5.4.0

Since Mar 4Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Martyn911/yii2-easy-start)[ Packagist](https://packagist.org/packages/martyn911/yii2-easy-start)[ Docs](https://github.com/martyn911/yii2-easy-start)[ RSS](/packages/martyn911-yii2-easy-start/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (17)Versions (2)Used By (0)

Yii2 Easy Start
===============

[](#yii2-easy-start)

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:

Backend:

`administrator` role account

```
Login: admin
Password: admin

```

`manager` role account

```
Login: manager
Password: manager

```

`user` role account

```
Login: user
Password: user123

```

[Screens](docs/screens.md)
--------------------------

[](#screens)

### REQUIREMENTS

[](#requirements)

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

- intl

Installation
------------

[](#installation)

### Before you begin

[](#before-you-begin)

1. If you do not have [Composer](http://getcomposer.org/), you may install it by following the instructions at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).
2. Install composer-asset-plugin needed for yii assets management

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

```

### Get source code

[](#get-source-code)

#### Download sources

[](#download-sources)

#### Or clone repository manually

[](#or-clone-repository-manually)

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

```

#### Install composer dependencies

[](#install-composer-dependencies)

```
composer install

```

### Get source code via Composer

[](#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

[](#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

[](#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

[](#thats-all-after-provision-application-will-be-accessible-on-httpyii2-easy-startdev)

Demo data
---------

[](#demo-data)

### Demo Users

[](#demo-users)

```
Login: admin
Password: admin

```

```
Login: manager
Password: manager

```

```
Login: user
Password: user123

```

\##Have any questions? mail to

\###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!

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3356d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/db3093f6b2d25000f9d2e3588be78b7ffced0c6a5166e0db9c19758f74c2b36c?d=identicon)[Martyn911](/maintainers/Martyn911)

---

Top Contributors

[![Martyn911](https://avatars.githubusercontent.com/u/9728008?v=4)](https://github.com/Martyn911 "Martyn911 (4 commits)")

---

Tags

frameworkyii2advancedproject templateeasy start

### Embed Badge

![Health badge](/badges/martyn911-yii2-easy-start/health.svg)

```
[![Health](https://phpackages.com/badges/martyn911-yii2-easy-start/health.svg)](https://phpackages.com/packages/martyn911-yii2-easy-start)
```

###  Alternatives

[beaten-sect0r/yii2-core

Yii2 Core project template

771.1k](/packages/beaten-sect0r-yii2-core)[izyue/yii2-app-advanced

Yii 2 Advanced Project Template

1281.9k](/packages/izyue-yii2-app-advanced)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
