PHPackages                             simpleforyou/yii2-and-vue - 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. simpleforyou/yii2-and-vue

ActiveProject[Framework](/categories/framework)

simpleforyou/yii2-and-vue
=========================

Yii 2 and Vue Basic Project Template

1.0.4(4y ago)6991[7 PRs](https://github.com/SimpleForYouT/Yii2AndVue/pulls)BSD-3-ClausePHPPHP &gt;=7.3.0

Since Sep 12Pushed 3y ago2 watchersCompare

[ Source](https://github.com/SimpleForYouT/Yii2AndVue)[ Packagist](https://packagist.org/packages/simpleforyou/yii2-and-vue)[ Docs](http://www.yiiframework.com/)[ RSS](/packages/simpleforyou-yii2-and-vue/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (12)Versions (13)Used By (0)

Yii2 and Vue Project
--------------------

[](#yii2-and-vue-project)

You can use this template to create a website with yii2 and vuejs.

composer create-project --prefer-dist simpleforyou/yii2-and-vue basic

Directory Structure
-------------------

[](#directory-structure)

```
  assets/             contains assets definition (NOT NEEDED)
  commands/           contains console commands (controllers)
  config/             contains application configurations
  controllers/        contains Web controller classes
  mail/               contains view files for e-mails
  models/             contains model classes
  runtime/            contains files generated during runtime
  tests/              contains various tests for the basic application
  vendor/             contains dependent 3rd-party packages
  views/              contains view files for the Web application
  web/                contains the entry script and Web resurces
  src/                contains helper classes
  web/vue             contains the entry vue script part (Do not upload this folder to your web server)

```

Controllers
-----------

[](#controllers)

The use of the controllers is now different. Before, the controllers rendered a page or template. Now the controllers only return data because the views are changed by vue.

Views
-----

[](#views)

Due to the changes only 2 files are needed now. The main layout and an index page. In both files the VueRenderer will be called which contains the js files and css files

web/vue
-------

[](#webvue)

this folder is the vue project.

How to use for production
-------------------------

[](#how-to-use-for-production)

1. run the build script in `web/vue/package.json`. After the build process is complete a new folder will be created under web the `prod` folder. This folder contains all the files built for vue.
2. Upload the prod folder to your web folder on your server.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 51.4% 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 ~115 days

Total

5

Last Release

1607d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/521362b428a219d85c6a2ddb7da591511c62a6fb431688a5340b689db6ae110d?d=identicon)[mthoer](/maintainers/mthoer)

---

Top Contributors

[![mthoer](https://avatars.githubusercontent.com/u/13520502?v=4)](https://github.com/mthoer "mthoer (19 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (14 commits)")[![SimpleForYouT](https://avatars.githubusercontent.com/u/98820048?v=4)](https://github.com/SimpleForYouT "SimpleForYouT (4 commits)")

---

Tags

vuevuejsyii2frameworkyii2project templatebasicVue.js

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/simpleforyou-yii2-and-vue/health.svg)

```
[![Health](https://phpackages.com/badges/simpleforyou-yii2-and-vue/health.svg)](https://phpackages.com/packages/simpleforyou-yii2-and-vue)
```

###  Alternatives

[aki/yii2-app-vue

Yii 2 Basic Project Template width VueJs

151.3k](/packages/aki-yii2-app-vue)[yii2mod/base

Base application template for Yii2

531.3k](/packages/yii2mod-base)

PHPackages © 2026

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