maksmartyn/laravel-ide-helper
最新稳定版本:0.3.1
Composer 安装命令:
composer require maksmartyn/laravel-ide-helper
包简介
Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.
README 文档
README
This package is based on the barryvdh/laravel-ide-helper package and adds PHPDoc generation functionality for models based on Laravel migrations (no database connection required). It uses the phpstan/phpstan package, and specifically larastan/larastan, to generate model property types from migration files.
Installation
You can install the package via composer:
composer require maksmartyn/laravel-ide-helper
Usage
To generate the PHPDocs for your models, you can run the following command:
php artisan ide-helper:models-from-migrations
This console command is completely analogous to the original ide-helper:models command in terms of its operating logic,
accepted parameters and flags, and also uses the configuration of the original package, but does not use a connection to the database.
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-09-22