2017 © Pedro Peláez
 

project yii2-app

Yii 2 Project Template

image

nullref/yii2-app

Yii 2 Project Template

  • Monday, July 16, 2018
  • by ZAYEC77
  • Repository
  • 6 Watchers
  • 3 Stars
  • 146 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 3 % Grown

The README.md

Yii2 Boilerplate

Yet another Yii2 application skeleton ), (*1)

Latest Stable Version Total Downloads Latest Unstable Version License, (*2)

DIRECTORY STRUCTURE

src/                source code
vendors             3rd-party packages
runtime/            contains files generated during runtime
tests/              contains various tests for the basic application
web/                the entry script and Web resources
infracture/         the infrastructure folder (docker/docker-compose setup)
bin/                scripts

REQUIREMENTS

The minimum requirement by this project template that your Web server supports PHP 5.4.0., (*3)

INSTALL

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

You can then install this project template using the following command:, (*5)

composer global require "hirak/prestissimo:~0.3.5"
composer global require "fxp/composer-asset-plugin:~1.3.0"
composer create-project "nullref/yii2-app" --stability=dev %PROJECT_NAME%
cd %PROJECT_NAME%
php yii env
php yii module/install nullref/yii2-full-admin

If you use composer.phar as local file, you have to use commands begin with php composer.phar, (*6)

Usage guide

If you want to add this project to remote repository using PhpStorm, follow next steps, (*7)

1. At the end of installing project remove current VCS in composer dialog.
2. In PhpStorm -> VCS -> Enable Version Control Integration
3. Add all files to git
4. VCS -> Commit and Push
5. Before Push phase define your repository

The Versions