laravel-ide-helper maintained by maksmartyn
Description
Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.
Author
Last update
2025/09/22 18:48
(dev-master)
License
Downloads
6
About
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.