PHPackages                             chabibnr/yua - 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. chabibnr/yua

ActiveProject[Framework](/categories/framework)

chabibnr/yua
============

Yii 2 + Vue.js Basic Project Template

2.0.14(8y ago)01BSD-3-ClausePHPPHP &gt;=5.4.0

Since Dec 1Pushed 7y ago1 watchersCompare

[ Source](https://github.com/chabibnr/yua)[ Packagist](https://packagist.org/packages/chabibnr/yua)[ Docs](http://www.yiiframework.com/)[ RSS](/packages/chabibnr-yua/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (9)Versions (18)Used By (0)

 [ ![](https://avatars0.githubusercontent.com/u/993323) ![](https://camo.githubusercontent.com/05e7b66187eae2a6c64e5cb389a41fce774a123ec44ffa0af838560a40ba8be8/68747470733a2f2f706e672e69636f6e73382e636f6d2f6d6574726f2f313630302f706c75732d6d6174682e706e67) ![](https://camo.githubusercontent.com/0bb9b18fa205c1e102c2027414a8568107ae74489b52d5b6486667e29a823ac0/68747470733a2f2f7675656a732e6f72672f696d616765732f6c6f676f2e706e67) ](https://github.com/yiisoft)

Yii 2 + Vue.js Project Template
===============================

[](#yii-2--vuejs-project-template)

This is a skeleton [Vue.js](https://vuejs.org/) application integrated with [Yii 2](http://www.yiiframework.com/) as a backend.

The template contains examples of using Vue.js and Yii2 including ajax request with enabled CSRF.

DIRECTORY STRUCTURE
-------------------

[](#directory-structure)

```
  app/                contains all vue.js templates
  assets/             contains assets definition
  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 resources

```

REQUIREMENTS
------------

[](#requirements)

The minimum requirement by this project template that your Web server supports PHP 5.4.0. and you have node.js and yarn installed

If you do not have **Node.js** installed you can [install it by following instructions](https://nodejs.org/en/download/)

If you do not have **Yarn** installed you can [install it by following instructions](https://yarnpkg.com/lang/en/docs/install/)

INSTALLATION
------------

[](#installation)

### Install via Composer

[](#install-via-composer)

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).

You can then install this project template using the following command:

```
php composer.phar create-project --prefer-dist --stability=dev developeruz/yii-vue-app basic

```

Now you should be able to access the application through the following URL, assuming `basic` is the directory directly under the Web root.

```
http://localhost/basic/web/

```

If you have a problem with `babel-loader` please run:

```
npm cache clean -f
rm -rf node_modules/ package-lock.json
npm install
yarn dev

```

CONFIGURATION
-------------

[](#configuration)

Please, check the [Yii 2 Basic Project Template](https://github.com/yiisoft/yii2-app-basic#configuration) configuration section.

CREATE VUE.JS TEMPLATE
----------------------

[](#create-vuejs-template)

You can run console command to get a basic vue.js template for your components

```
php yii make/template --path=app/pages/TestComponent.vue

```

It will create a file TestComponent.vue with the following content

```

     export default {
         data() {
             return {
             }
         },
         mounted: function () {

         },
         methods: {

         },
         watch: {

         }
     }

```

CONTRIBUTING
------------

[](#contributing)

Contributions are **welcome** and will be fully **credited**.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~96 days

Recently: every ~121 days

Total

17

Last Release

3005d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c734958032fc7cc034c8ad6a76f6fb047ebd862be6ab6c311a1e17e6f68b497?d=identicon)[chabibnr](/maintainers/chabibnr)

---

Top Contributors

[![qiangxue](https://avatars.githubusercontent.com/u/993322?v=4)](https://github.com/qiangxue "qiangxue (147 commits)")[![samdark](https://avatars.githubusercontent.com/u/47294?v=4)](https://github.com/samdark "samdark (114 commits)")[![cebe](https://avatars.githubusercontent.com/u/189796?v=4)](https://github.com/cebe "cebe (78 commits)")[![Ragazzo](https://avatars.githubusercontent.com/u/1748844?v=4)](https://github.com/Ragazzo "Ragazzo (36 commits)")[![SilverFire](https://avatars.githubusercontent.com/u/4499203?v=4)](https://github.com/SilverFire "SilverFire (19 commits)")[![maximal](https://avatars.githubusercontent.com/u/980679?v=4)](https://github.com/maximal "maximal (14 commits)")[![DavertMik](https://avatars.githubusercontent.com/u/220264?v=4)](https://github.com/DavertMik "DavertMik (13 commits)")[![schmunk42](https://avatars.githubusercontent.com/u/649031?v=4)](https://github.com/schmunk42 "schmunk42 (9 commits)")[![developeruz](https://avatars.githubusercontent.com/u/8788118?v=4)](https://github.com/developeruz "developeruz (8 commits)")[![creocoder](https://avatars.githubusercontent.com/u/896494?v=4)](https://github.com/creocoder "creocoder (7 commits)")[![lucianobaraglia](https://avatars.githubusercontent.com/u/374554?v=4)](https://github.com/lucianobaraglia "lucianobaraglia (6 commits)")[![damasco](https://avatars.githubusercontent.com/u/1377554?v=4)](https://github.com/damasco "damasco (5 commits)")[![githubjeka](https://avatars.githubusercontent.com/u/874234?v=4)](https://github.com/githubjeka "githubjeka (5 commits)")[![slavcodev](https://avatars.githubusercontent.com/u/757721?v=4)](https://github.com/slavcodev "slavcodev (4 commits)")[![pana1990](https://avatars.githubusercontent.com/u/6630197?v=4)](https://github.com/pana1990 "pana1990 (4 commits)")[![ricpelo](https://avatars.githubusercontent.com/u/616169?v=4)](https://github.com/ricpelo "ricpelo (3 commits)")[![mohorev](https://avatars.githubusercontent.com/u/4974062?v=4)](https://github.com/mohorev "mohorev (3 commits)")[![Naktibalda](https://avatars.githubusercontent.com/u/395992?v=4)](https://github.com/Naktibalda "Naktibalda (2 commits)")[![Kolyunya](https://avatars.githubusercontent.com/u/2682768?v=4)](https://github.com/Kolyunya "Kolyunya (2 commits)")[![numbata](https://avatars.githubusercontent.com/u/82400?v=4)](https://github.com/numbata "numbata (2 commits)")

---

Tags

frameworkyii2project templatebasic

### Embed Badge

![Health badge](/badges/chabibnr-yua/health.svg)

```
[![Health](https://phpackages.com/badges/chabibnr-yua/health.svg)](https://phpackages.com/packages/chabibnr-yua)
```

###  Alternatives

[developeruz/yii-vue-app

Yii 2 + Vue.js Basic Project Template

1221.6k](/packages/developeruz-yii-vue-app)[yii2mod/base

Base application template for Yii2

531.3k](/packages/yii2mod-base)

PHPackages © 2026

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