PHPackages                             vova07/yii2-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. vova07/yii2-start

ActiveProject[Framework](/categories/framework)

vova07/yii2-start
=================

Yii2-Start it's a small Yii 2 application template for your fast project start.

0.4.5(11y ago)26811.1k109[31 issues](https://github.com/vova07/yii2-start/issues)7BSD-3-ClausePHPPHP &gt;=5.4.0

Since Aug 14Pushed 11y ago54 watchersCompare

[ Source](https://github.com/vova07/yii2-start)[ Packagist](https://packagist.org/packages/vova07/yii2-start)[ Docs](http://yii2-start.find-freelancer.pro)[ RSS](/packages/vova07-yii2-start/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (12)Versions (10)Used By (7)

Yii2-start
==========

[](#yii2-start)

DEMO:
-----

[](#demo)

**Frontend:**
**Backend:**

**Authentication:**
*Login:* `admin`
*Password:* `admin12345`

Installation and getting started:
---------------------------------

[](#installation-and-getting-started)

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

**If you do not have Composer-Asset-Plugin installed, you may install it by running command:** `php composer.phar global require "fxp/composer-asset-plugin:1.0.0"`

1. Run the following commands to install Yii2-Start: `php composer.phar create-project --prefer-dist --stability=dev vova07/yii2-start yii2-start`
    **During the installation process can be required `password` and\\or `username` from your Github account. This is because you make too much request to Github service. Just remember that this can be.**
2. Run command: `cd /my/path/to/yii2-start/` and go to main application directory.
3. Run command: `php requirements.php` and check the requirements.
4. Run command: `php init` to initialize the application with a specific environment.
5. Create a new database and adjust it configuration in `common/config/db.php` accordingly.
6. Apply migrations with console commands:
    - `php yii migrate --migrationPath=@vova07/users/migrations`
    - `php yii migrate --migrationPath=@vova07/blogs/migrations`
    - `php yii migrate --migrationPath=@vova07/comments/migrations`
    - This will create tables needed for the application to work.
    - You also can use database dump `db.sql` from `my/path/to/yii2-start/common/data`, but however I recommend to use migrations.
7. Run modules RBAC commands:
    - `php yii rbac/rbac/init`
    - `php yii users/rbac/add`
    - `php yii blogs/rbac/add`
    - `php yii comments/rbac/add`
8. Set document roots of your Web server:

**For Apache:**

```

    ServerName www.yii2-start.domain # You need to change it to your own domain
    ServerAlias yii2-start.domain # You need to change it to your own domain
    DocumentRoot /my/path/to/yii2-start # You need to change it to your own path
     # You need to change it to your own path
  	  AllowOverride All

```

- Use the URL `http://yii2-start.domain` to access application frontend.
- Use the URL `http://yii2-start.domain/backend/` to access application backend.

**For Nginx:**

```
___Frontend___

```
server {
    charset utf-8;
    client_max_body_size 128M;

    listen 80; ## listen for ipv4
    # listen [::]:80 ipv6only=on; ## listen for ipv6

    set $yii2StartRoot '/my/path/to/yii2-start'; ## You need to change it to your own path

    server_name yii2-start.domain; ## You need to change it to your own domain
    root $yii2StartRoot/frontend/web;
    index index.php;

    #access_log  $yii2StartRoot/log/frontend/access.log;
    #error_log   $yii2StartRoot/log/frontend/error.log;

    location / {
        # Redirect everything that isn't a real file to index.php
        try_files $uri $uri/ /index.php?$args;
    }

    location /statics {
        alias $yii2StartRoot/statics/web/;
    }

    # uncomment to avoid processing of calls to non-existing static files by Yii
    #location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar)$ {
    #    try_files $uri =404;
    #}
    #error_page 404 /404.html;

    location ~ \.php$ {
        #include fastcgi_params;
        include fastcgi.conf;
        fastcgi_pass   127.0.0.1:9000;
        #fastcgi_pass unix:/var/run/php5-fpm.sock;
        try_files $uri =404;
    }

    location ~ /\.(ht|svn|git) {
        deny all;
    }
}
```

__Backend__

```
server {
    charset utf-8;
    client_max_body_size 128M;

    listen 80; ## listen for ipv4
    # listen [::]:80 ipv6only=on; ## listen for ipv6

    set $yii2StartRoot '/my/path/to/yii2-start'; ## You need to change it to your own path

    server_name backend.yii2-start.domain; ## You need to change it to your own domain
    root $yii2StartRoot/backend/web;
    index index.php;

    #access_log  $yii2StartRoot/log/backend/access.log;
    #error_log   $yii2StartRoot/log/backend/error.log;

    location / {
        # Redirect everything that isn't a real file to index.php
        try_files $uri $uri/ /index.php?$args;
    }

    location /statics {
        alias $yii2StartRoot/statics/web/;
    }

    # uncomment to avoid processing of calls to non-existing static files by Yii
    #location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar)$ {
    #    try_files $uri =404;
    #}
    #error_page 404 /404.html;

    location ~ \.php$ {
        #include fastcgi_params;
        include fastcgi.conf;
        fastcgi_pass   127.0.0.1:9000;
        #fastcgi_pass unix:/var/run/php5-fpm.sock;
        try_files $uri =404;
    }

    location ~ /\.(ht|svn|git) {
        deny all;
    }
}
```

**Remove `'baseUrl' => '/backend'` from `/my/path/to/yii2-start/backend/config/main.php`.**

- Use the URL `http://yii2-start.domain` to access application frontend.
- Use the URL `http://backend.yii2-start.domain` to access application backend.

```

Notes:
------

[](#notes)

By default will be created one super admin user with login `admin` and password `admin12345`, you can use this data to sing in application frontend and backend.

Themes:
-------

[](#themes)

- Application backend it's based on "AdminLTE" template. More detail about this nice template you can find [here](http://www.bootstrapstage.com/admin-lte/).
- Application frontend it's based on "Flat Theme". More detail about this nice theme you can find [here](http://shapebootstrap.net/item/flat-theme-free-responsive-multipurpose-site-template/).

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community34

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.1% 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

Every ~28 days

Total

9

Last Release

4061d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2714082?v=4)[Vasile C.](/maintainers/vova07)[@vova07](https://github.com/vova07)

---

Top Contributors

[![vova07](https://avatars.githubusercontent.com/u/2714082?v=4)](https://github.com/vova07 "vova07 (118 commits)")[![Asetss](https://avatars.githubusercontent.com/u/5195241?v=4)](https://github.com/Asetss "Asetss (7 commits)")[![Tom910](https://avatars.githubusercontent.com/u/2185721?v=4)](https://github.com/Tom910 "Tom910 (2 commits)")[![seesoft-dev](https://avatars.githubusercontent.com/u/5937278?v=4)](https://github.com/seesoft-dev "seesoft-dev (1 commits)")[![nikosid](https://avatars.githubusercontent.com/u/1609434?v=4)](https://github.com/nikosid "nikosid (1 commits)")[![bolmas](https://avatars.githubusercontent.com/u/8041309?v=4)](https://github.com/bolmas "bolmas (1 commits)")[![maxxi165](https://avatars.githubusercontent.com/u/3046045?v=4)](https://github.com/maxxi165 "maxxi165 (1 commits)")

---

Tags

yii2applicationbootstrapyii 2start

### Embed Badge

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

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

###  Alternatives

[yiisoft/yii2-bootstrap

The Twitter Bootstrap extension for the Yii framework

19819.6M1.0k](/packages/yiisoft-yii2-bootstrap)[yii2-starter-kit/yii2-starter-kit

Yii2 Starter Kit Application Template

1.4k6.6k](/packages/yii2-starter-kit-yii2-starter-kit)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k47](/packages/skeeks-cms)[vova07/yii2-start-blogs-module

The blogs module for Yii2-start application.

1710.2k1](/packages/vova07-yii2-start-blogs-module)

PHPackages © 2026

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