https://github.com/nullrefexcep/yii2-boilerplate
Yet another yii2 application skeleton
https://github.com/nullrefexcep/yii2-boilerplate
yii2-application-template yii2-boilerplate
Last synced: about 1 month ago
JSON representation
Yet another yii2 application skeleton
- Host: GitHub
- URL: https://github.com/nullrefexcep/yii2-boilerplate
- Owner: NullRefExcep
- Created: 2015-06-22T18:53:13.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-08-29T18:38:39.000Z (over 3 years ago)
- Last Synced: 2025-03-24T11:21:21.211Z (about 2 months ago)
- Topics: yii2-application-template, yii2-boilerplate
- Language: PHP
- Size: 2.68 MB
- Stars: 8
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Yii2 Boilerplate
Yet another [Yii2](http://www.yiiframework.com/) application skeleton )[](https://packagist.org/packages/nullref/yii2-app)
[](https://packagist.org/packages/nullref/yii2-app)
[](https://packagist.org/packages/nullref/yii2-app)
[](https://packagist.org/packages/nullref/yii2-app)## 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.
## INSTALL
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:
```
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`
### Usage guide
If you want to add this project to remote repository using PhpStorm, follow next steps
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