PHPackages                             onyijne/ovy - 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. onyijne/ovy

ActiveProject[Framework](/categories/framework)

onyijne/ovy
===========

Onsen-UI 2 + Vue.js 2 + Yii2 Basic Project Template

2.1.5(4y ago)8691BSD-3-ClausePHPPHP &gt;=7.1.0

Since Dec 1Pushed 4y ago1 watchersCompare

[ Source](https://github.com/onyijne/ovy)[ Packagist](https://packagist.org/packages/onyijne/ovy)[ RSS](/packages/onyijne-ovy/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (6)Dependencies (9)Versions (24)Used By (0)

OVY
===

[](#ovy)

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

Yii 2 + Vue.js + Onsen-UI Project Template
==========================================

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

This is a skeleton [Onsen UI](https://onsen.io/) and [Vue.js](https://vuejs.org/) application integrated with [Yii 2](http://www.yiiframework.com/) as a backend and view fallback.

The template was built using vue-cli 3, has Vuex, on Vue-router support and contains examples of using Onsen UI with Vue.js and Yii2, with the ability to rapidly develop a native looking ajax powered app with CSRF enabled.

Assets management is done via npm.

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

[](#directory-structure)

```
  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
  modules/            contains application modules
  node_modules        contains npm packages
  runtime/            contains files generated during runtime
  vue-app/            contains the onsen-ui and vue.js templates
  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)

- Development

The minimum requirement is that your Web server supports PHP 7.1.0. and you have node.js, yarn, vue-cli3 and composer installed

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

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

If you do not have vue-cli installed you may follow the instruction [here](https://cli.vuejs.org/guide/installation.html)

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

- Production

The minimum requirement is that your Web server supports PHP 7.1.0.

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

[](#installation)

- Install via Composer

You can install this project template using the following command:

```
    php composer create-project --prefer-dist --stability=dev onyijne/ovy ovy

```

Then `cd ovy/vue-app` and run `yarn install`

Now you should be able to access the application through the following URL, assuming `ovy` is the directory directly under the Web root. **NEVER TRY THIS IN PRODUCTION**

```
http://localhost/ovy/web/

```

```
To populate assets use `yarn dev` during developement and `yarn build` for production

```

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

[](#configuration)

Please, check the [Yii 2 Basic Project Template](https://github.com/yiisoft/yii2-app-basic#configuration) and [Vue.js](https://cli.vuejs.org/config/) configuration sections.

You would also need to edit certain values in **vue.config.js** file like `outputDir` and `devServer.proxy.target` and in **store/state.js** file like `baseApiUrl.dev` &amp; `baseApiUrl.prod` **USE IGNITO MODE DURING DEVELOPMENT TO AVOID CACHING ISSUE**

You might want to adjust some values in the **manifest.json** file when in production

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

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor3

3 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 ~128 days

Recently: every ~211 days

Total

23

Last Release

1717d ago

PHP version history (2 changes)2.0.0-alphaPHP &gt;=5.4.0

2.1.0PHP &gt;=7.1.0

### Community

Maintainers

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

---

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)")[![onyijne](https://avatars.githubusercontent.com/u/6826336?v=4)](https://github.com/onyijne "onyijne (42 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)")[![githubjeka](https://avatars.githubusercontent.com/u/874234?v=4)](https://github.com/githubjeka "githubjeka (5 commits)")[![damasco](https://avatars.githubusercontent.com/u/1377554?v=4)](https://github.com/damasco "damasco (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)")[![mohorev](https://avatars.githubusercontent.com/u/4974062?v=4)](https://github.com/mohorev "mohorev (3 commits)")[![ricpelo](https://avatars.githubusercontent.com/u/616169?v=4)](https://github.com/ricpelo "ricpelo (3 commits)")[![janisto](https://avatars.githubusercontent.com/u/387868?v=4)](https://github.com/janisto "janisto (2 commits)")[![ElisDN](https://avatars.githubusercontent.com/u/1673552?v=4)](https://github.com/ElisDN "ElisDN (2 commits)")

---

Tags

onsen-uipwavue-clivue-routervuejsvuexyii2-frameworkframeworkyii2project templatebasicvuejs2Onsen UI2

### Embed Badge

![Health badge](/badges/onyijne-ovy/health.svg)

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

###  Alternatives

[yii2mod/base

Base application template for Yii2

531.3k](/packages/yii2mod-base)

PHPackages © 2026

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