2017 © Pedro Peláez
 

library think-model-helper

image

yunwuxin/think-model-helper

  • Monday, April 23, 2018
  • by yunwuxin
  • Repository
  • 1 Watchers
  • 3 Stars
  • 54 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 12 Versions
  • 2 % Grown

The README.md

ThinkPHP5 自动生成模型的注释

安装

composer require yunwuxin/think-model-helper

使用方法

//所有模型
php think model:annotation

//指定模型
php think model:annotation app\\User app\\Post

可选参数

--dir="models" [-D] 指定自动搜索模型的目录,相对于APP_PATH的路径,可指定多个,默认为application/model

--ignore="app\\User,app\\Post" [-I] 忽略的模型,可指定多个

--overwrite [-O] 强制覆盖已有的属性注释

The Versions