{"id":14966621,"url":"https://github.com/developeruz/yii-vue-app","last_synced_at":"2025-10-01T02:31:30.259Z","repository":{"id":56966487,"uuid":"126302889","full_name":"developeruz/yii-vue-app","owner":"developeruz","description":"Yii 2.0 + Vue.js 2.x Application Template","archived":false,"fork":true,"pushed_at":"2018-10-15T03:55:26.000Z","size":491,"stargazers_count":124,"open_issues_count":2,"forks_count":36,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-09-18T09:13:07.388Z","etag":null,"topics":["project-template","vue","vuejs","yii2"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"yiisoft/yii2-app-basic","license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/developeruz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-22T08:21:41.000Z","updated_at":"2024-02-15T07:40:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/developeruz/yii-vue-app","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developeruz%2Fyii-vue-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developeruz%2Fyii-vue-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developeruz%2Fyii-vue-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developeruz%2Fyii-vue-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developeruz","download_url":"https://codeload.github.com/developeruz/yii-vue-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219866475,"owners_count":16554232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["project-template","vue","vuejs","yii2"],"created_at":"2024-09-24T13:36:42.381Z","updated_at":"2025-10-01T02:31:24.870Z","avatar_url":"https://github.com/developeruz.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/yiisoft\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://avatars0.githubusercontent.com/u/993323\" height=\"100px\"\u003e\n        \u003cimg src=\"https://png.icons8.com/metro/1600/plus-math.png\" height=\"50px\"\u003e\n        \u003cimg src=\"https://vuejs.org/images/logo.png\" height=\"100px\"\u003e\n    \u003c/a\u003e\n    \u003ch1 align=\"center\"\u003eYii 2 + Vue.js Project Template\u003c/h1\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\nThis is a skeleton [Vue.js](https://vuejs.org/) application integrated with [Yii 2](http://www.yiiframework.com/) as a backend.\n\nThe template contains examples of using Vue.js and Yii2 including ajax request with enabled CSRF.\n\nDIRECTORY STRUCTURE\n-------------------\n\n      app/                contains all vue.js templates\n      assets/             contains assets definition\n      commands/           contains console commands (controllers)\n      config/             contains application configurations\n      controllers/        contains Web controller classes\n      mail/               contains view files for e-mails\n      models/             contains model classes\n      runtime/            contains files generated during runtime\n      tests/              contains various tests for the basic application\n      vendor/             contains dependent 3rd-party packages\n      views/              contains view files for the Web application\n      web/                contains the entry script and Web resources\n\n\n\nREQUIREMENTS\n------------\n\nThe minimum requirement by this project template that your Web server supports PHP 5.4.0. and you have node.js and yarn installed\n\nIf you do not have **Node.js** installed you can [install it by following instructions](https://nodejs.org/en/download/)\n\nIf you do not have **Yarn** installed you can [install it by following instructions](https://yarnpkg.com/lang/en/docs/install/)\n\nINSTALLATION\n------------\n\n### Install via Composer\n\nIf you do not have [Composer](http://getcomposer.org/), you may install it by following the instructions\nat [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).\n\nYou can then install this project template using the following command:\n\n~~~\nphp composer.phar create-project --prefer-dist --stability=dev developeruz/yii-vue-app basic\n~~~\n\nNow you should be able to access the application through the following URL, assuming `basic` is the directory\ndirectly under the Web root.\n\n~~~\nhttp://localhost/basic/web/\n~~~\nIf you have a problem with `babel-loader` please run:\n~~~\nnpm cache clean -f\nrm -rf node_modules/ package-lock.json\nnpm install\nyarn dev\n~~~\n\nCONFIGURATION\n-------------\n\nPlease, check the [Yii 2 Basic Project Template](https://github.com/yiisoft/yii2-app-basic#configuration) configuration section. \n\nCREATE VUE.JS TEMPLATE\n----------------------\n\nYou can run console command to get a basic vue.js template for your components\n~~~\nphp yii make/template --path=app/pages/TestComponent.vue\n~~~\n\nIt will create a file TestComponent.vue with the following content \n```\n \u003ctemplate\u003e\n     \u003cdiv\u003e\n \n     \u003c/div\u003e\n \u003c/template\u003e\n \n \u003cscript\u003e\n     export default {\n         data() {\n             return {\n             }\n         },\n         mounted: function () {\n \n         },\n         methods: {\n \n         },\n         watch: {\n \n         }\n     }\n \u003c/script\u003e\n``` \n\n\nCONTRIBUTING\n-----------------------\n\nContributions are **welcome** and will be fully **credited**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloperuz%2Fyii-vue-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeveloperuz%2Fyii-vue-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloperuz%2Fyii-vue-app/lists"}