Skip to content

Commit f89aa73

Browse files
committed
init
1 parent 165d69f commit f89aa73

File tree

6 files changed

+97
-2
lines changed

6 files changed

+97
-2
lines changed

.gitignore

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# phpstorm project files
2+
.idea
3+
4+
# netbeans project files
5+
nbproject
6+
7+
# zend studio for eclipse project files
8+
.buildpath
9+
.project
10+
.settings
11+
12+
# windows thumbnail cache
13+
Thumbs.db
14+
15+
# composer vendor dir
16+
/vendor
17+
18+
# composer itself is not needed
19+
composer.phar
20+
21+
# Mac DS_Store Files
22+
.DS_Store
23+
24+
# phpunit itself is not needed
25+
phpunit.phar
26+
# local phpunit config
27+
/phpunit.xml

README.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
1-
# yii2-boilerplate
2-
Yet another yii2 application skeleton
1+
# Yii2 Boilerplate
2+
Yet another [Yii 2](http://www.yiiframework.com/) application skeleton =)
3+
4+
## DIRECTORY STRUCTURE
5+
6+
```
7+
src/ source code
8+
vendors 3rd-party packages
9+
runtime/ contains files generated during runtime
10+
tests/ contains various tests for the basic application
11+
web/ the entry script and Web resources
12+
```

composer.json

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"name": "nullref/yii2-app",
3+
"description": "Yii 2 Project Template",
4+
"keywords": ["yii2", "framework", "project template"],
5+
"type": "project",
6+
"license": "MIT",
7+
"support": {
8+
"issues": "https://github.com/yiisoft/yii2/issues?state=open",
9+
"forum": "http://www.yiiframework.com/forum/",
10+
"wiki": "http://www.yiiframework.com/wiki/",
11+
"irc": "irc://irc.freenode.net/yii",
12+
"source": "https://github.com/yiisoft/yii2"
13+
},
14+
"minimum-stability": "dev",
15+
"require": {
16+
"php": ">=5.4.0",
17+
"yiisoft/yii2": ">=2.0.4",
18+
"yiisoft/yii2-bootstrap": "*",
19+
"yiisoft/yii2-swiftmailer": "*",
20+
"vlucas/phpdotenv": "~1.0@dev"
21+
},
22+
"require-dev": {
23+
"yiisoft/yii2-codeception": "*",
24+
"yiisoft/yii2-debug": "*",
25+
"yiisoft/yii2-gii": "*",
26+
"yiisoft/yii2-faker": "*"
27+
},
28+
"config": {
29+
"process-timeout": 1800
30+
},
31+
"scripts": {
32+
"post-create-project-cmd": [
33+
"yii\\composer\\Installer::postCreateProject"
34+
]
35+
},
36+
"extra": {
37+
"yii\\composer\\Installer::postCreateProject": {
38+
"setPermission": [
39+
{
40+
"runtime": "0777",
41+
"web/assets": "0777",
42+
"yii": "0755"
43+
}
44+
],
45+
"generateCookieValidationKey": [
46+
"src/config/web.php"
47+
]
48+
},
49+
"asset-installer-paths": {
50+
"npm-asset-library": "vendor/npm",
51+
"bower-asset-library": "vendor/bower"
52+
}
53+
}
54+
}

runtime/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!.gitignore

web/assets/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!.gitignore

web/css/main.css

Whitespace-only changes.

0 commit comments

Comments
 (0)