Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zacksleo/yii-module-start-kit
yii modules start kit
https://github.com/zacksleo/yii-module-start-kit
yii yii-extension
Last synced: 12 days ago
JSON representation
yii modules start kit
- Host: GitHub
- URL: https://github.com/zacksleo/yii-module-start-kit
- Owner: zacksleo
- License: mit
- Created: 2018-12-20T10:06:27.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-03T07:28:13.000Z (almost 6 years ago)
- Last Synced: 2024-04-09T14:22:56.132Z (9 months ago)
- Topics: yii, yii-extension
- Language: PHP
- Size: 30.3 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# yii-module-start-kit
yii modules start kit
## Get Started
## Install
+ install by composer
```bash
composer create-project foundation-packages/demo projectName
```## Change namespaces
### open composer.json , then modify the package name
`foundation-packages/demo` -> `foundation-packages/yourname`
`"foundation\\packages\\demo\\": "src"` -> `"foundation\\packages\\yourname\\": "src"`
### modify source namespace in the src directory
`namespace foundation\packages\demo` -> `namespace foundation\packages\yourname`
## Relative Docs
+ [Yii 模块](https://github.com/yiisoft/yii2/blob/master/docs/guide-zh-CN/structure-modules.md)
+ [Yii 扩展](https://github.com/yiisoft/yii2/blob/master/docs/guide-zh-CN/structure-extensions.md)
+ [使用Composer创建公共类库](https://zacksleo.github.io/2017/07/20/%E4%BD%BF%E7%94%A8Composer%E5%88%9B%E5%BB%BA%E5%85%AC%E5%85%B1%E7%B1%BB%E5%BA%93/)