maksmartyn/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/maksmartyn/laravel-ide-helper

0.3.1 2025-09-22 16:48 UTC

This package is auto-updated.

Last update: 2025-10-22 17:03:26 UTC


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.