Laravel IDE Helper

Generate accurate PHPDocs for Laravel facades, models, and macros to power IDE autocompletion.

Tool
Composer
vv3.7.0
14,953stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
71/100Good
Development Activity60
Maintenance48
Community76
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
80/100Excellent
Architecture78
Code Quality80
Innovation80
Learning Curve78

Laravel IDE Helper is a developer tool that generates helper files enabling your IDE to provide accurate autocompletion for Laravel’s dynamic facades, Eloquent models, and macros. Because generation is driven by the actual files and database schema in your project, the produced PHPDocs stay in sync with your code.

Installed as a dev dependency, it exposes artisan commands that write _ide_helper.php, model docblocks, and a PhpStorm meta file. This restores the static-analysis and autocompletion experience that Laravel’s magic methods and container bindings would otherwise hide from editors like PhpStorm, VS Code, and Sublime Text.

What You Get

  • Artisan command ide-helper:generate that produces _ide_helper.php for all facades
  • Model docblock generation from table columns, relations, and accessors via ide-helper:models
  • A PhpStorm .phpstorm.meta.php file mapping container make() calls to concrete classes
  • Configurable output: separate files, in-place model writes, or @mixin annotations
  • Support for macros, mixins, real-time facades, and custom relationship return types

Common Use Cases

  • Enabling reliable autocompletion for Laravel facades in PhpStorm or VS Code
  • Documenting Eloquent model properties and query-builder methods for type hints
  • Regenerating helper files automatically after composer update via post-update hooks

Under The Hood

Architecture - The package registers an IdeHelperServiceProvider that wires up artisan commands (GeneratorCommand, ModelsCommand, MetaCommand) under src/Console. Each command uses PHP reflection plus barryvdh/reflection-docblock and composer/class-map-generator to walk facades, container bindings, and Eloquent models, then renders PHPDoc output through Blade-style templates in php-templates.

Tech Stack - Written in PHP 8.2+, it depends on Laravel’s illuminate/console, illuminate/database, illuminate/filesystem, and illuminate/support components (v11-v13). Dev tooling includes PHPUnit, Orchestra Testbench, Larastan/PHPStan, and PHP-CS-Fixer.

Code Quality - The repo ships a tests suite run under Testbench, a committed phpstan-baseline.neon for static analysis, and PHP-CS-Fixer configuration, indicating disciplined maintenance and consistent style enforcement.

API Design - Developer experience centers on a handful of well-named artisan commands with intuitive flags (-W, -R, -M, --dir, --ignore) and a publishable config file, keeping setup to a single composer require --dev and one command.

Used by 9 apps in this directory

Other

Akaunting

Invoicing Finance

10,070

Open-source online accounting for small businesses and freelancers — invoices, expenses, and reporting without monthly fees or vendor lock-in.

View details
98
Repo Health
73
Technical
63
Dependency
Updated yesterday
PHP
48%
AGPL 3.0

Crater

Invoicing Finance

8,341

Open source invoicing and billing platform for freelancers and small businesses — create estimates, track expenses, accept Stripe payments, and run recurring invoices from your own server.

View details
54
Repo Health
68
Technical
69
Dependency
Built with
PHP48%
Vue40%
Updated 2 years ago
PHP
82%
MIT

Databasement

Databases · Devops · Developer Tools

1,974

Self-hosted database backup manager with a web UI for scheduling, encrypting, and restoring MySQL, PostgreSQL, MongoDB, SQL Server, SQLite, Firebird, and Redis to S3, SFTP, Samba, or local storage.

View details
81
Repo Health
77
Technical
69
Dependency
Built with
PHP82%
Blade17%
Updated 4 days ago
PHP
85%
Other

Invoice Ninja

Invoicing Finance · Project Management

10,008

Self-hostable invoicing, time-tracking, and multi-gateway payment platform for freelancers and small businesses, with built-in e-invoicing compliance for EU and global standards.

View details
97
Repo Health
83
Technical
62
Dependency
Built with
PHP85%
XSLT10%
Updated 2 days ago
PHP
65%
AGPL 3.0

LinkStack

Marketing

3,797

Self-hosted, privacy-focused Linktree alternative with themes, analytics, and a drag-and-drop admin panel.

View details
75
Repo Health
56
Technical
68
Dependency
Built with
PHP65%
Blade35%
Updated 4 weeks ago
PHP
61%
Other

OpnForm

Forms Surveys · Marketing

3,609

Build unlimited, embeddable forms with no code — powered by AI, logic rules, and real-time analytics

View details
90
Repo Health
75
Technical
69
Dependency
Built with
PHP61%
Vue31%
Updated yesterday
PHP
45%
AGPL 3.0

solidtime

Productivity · Invoicing Finance

8,860

Modern open-source time tracker for freelancers and agencies with invoicing, multi-org support, and Toggl/Clockify migration built in.

View details
84
Repo Health
81
Technical
70
Dependency
Built with
PHP45%
TypeScript30%
Vue23%
Updated yesterday
PHP
63%
AGPL 3.0

Vanguard Backup

Devops

37

Self-hosted backup automation for Ubuntu and Debian servers with S3 storage, SSH-based file and database backup, and multi-channel notifications.

View details
33
Repo Health
80
Technical
70
Dependency
Built with
PHP63%
Blade36%
Updated 9 months ago
PHP
71%
MIT

Yaffa

Invoicing Finance

108

Self-hosted personal finance app for long-term financial planning with AI-powered transaction parsing and investment tracking.

View details
78
Repo Health
78
Technical
72
Dependency
Built with
PHP71%
Vue24%
Updated 2 days ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search