ide提示,給 laravel eloquent model 加上注釋

v1.2.1
版本
2025-01-18
版本更新時(shí)間
1813
安裝
13
star
說明
webman 目前默認(rèn)使用的 Laravel ORM,已經(jīng)給 support/Model
加上了必要的注釋
使用 webman/console
的 webman make:model
也已經(jīng)會(huì)給模型加上了相應(yīng)的字段注釋
目前仍不能做到的:
- 數(shù)據(jù)庫(kù)字段更新后更新注釋
- 添加
getXxxAttribute
或者模型關(guān)聯(lián)后,不能更新注釋
簡(jiǎn)介
給 webman 的 laravel eloquent model 加上注釋
使用 barryvdh/laravel-ide-helper
安裝
composer require kriss/webman-eloquent-ide-helper
使用
php webman ide-helper:models