kriss / webman-eloquent-ide-helper
webman-eloquent-ide-helper 插件
v1.2.0
2024-05-11 01:35 UTC
Requires
- barryvdh/laravel-ide-helper: ^2.13||^3.0
- illuminate/config: >=5
- illuminate/container: >=5
- illuminate/database: >=5
Requires (Dev)
README
说明
webman 当前默认使用的 Laravel ORM,已经给 support/Model
添加了必要的注释
使用 webman/console
的 webman make:model
也已经会给模型添加相应的字段注释
目前还不能做到的:
- 数据库字段更新后更新注释
- 添加
getXxxAttribute
或者模型关联后,不能更新注释
简介
为 webman 的 Laravel Eloquent 模型添加注释
使用 barryvdh/laravel-ide-helper
安装
composer require kriss/webman-eloquent-ide-helper
使用
php webman ide-helper:models