Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/)