laravel 辅助开发工具之 barryvdh/laravel-ide-helper
barryvdh/laravel-ide-helper 基本使用:
安装命令:composer require barryvdh/laravel-ide-helper
生产 _ide_helper.php 文件:php artisan ide-help:generate
查看ide-helper的相关命令:php artisan list | find “ide-helper”
结果:
ide-helper
ide-helper:eloquent Add \Eloquent helper to \Eloquent\Model
ide-helper:generate Generate a new IDE Helper file.
ide-helper:meta Generate metadata for PhpStorm
ide-helper:models Generate autocompletion for models
更多参考:packagist.org/packages/barryvdh/la...
本作品采用《CC 协议》,转载必须注明作者和本文链接
推荐文章: