wulfheart/laravel-actions-ide-helper
Generate IDE helpers for Laravel Actions v2 so your editor autocompletes action classes, methods, and magic properties. Install as a dev dependency and run php artisan ide-helper:actions. Community-maintained.
@method/@mixin docblock maintenance tax that otherwise makes the pattern feel expensive.handle, asController, authorize, rules, and constructor signatures. Generated stubs shorten that ramp, which is a hiring/onboarding metric a PM can actually move.Adopt when all of the following hold:
composer why-not wulfheart/laravel-actions-ide-helper comes back clean — no conflicts against lorisleiva/lody or phpdocumentor/reflection-docblock already pinned by static analysis or docs tooling. This is the single most likely reason integration stalls.Look elsewhere or skip when:
To executives: This is a small, reversible developer-productivity purchase — a dev-only dependency, one Composer line, no production runtime, no data exposure, no infrastructure change. It removes a recurring manual chore (hand-maintaining type annotations for our Action classes) and improves autocompletion and static-analysis accuracy for every engineer working in that part of the codebase. Cost is roughly half a day of engineering plus naming an internal owner. The honest caveat: it's a community package with a single maintainer who has publicly stepped back and is seeking a successor. We mitigate that by pinning the version, gitignoring the generated artifact, documenting the manual fallback, and scheduling a re-evaluation at our next major upgrade. Worst case, we fork a one-command generator or drop it — the exit cost is measured in days, not quarters.
To engineering: One-line composer require --dev, then php artisan ide-helper:actions. No config, no service provider, no publish step. It scans your Action classes and emits accurate signatures your IDE can resolve — including constructor params and default values. Verify on one branch first, then roll out; delete superseded hand-written @method annotations in a separate PR so rollback stays clean. Do not wire it into CI; regeneration is a local dev concern. If it breaks after an Actions upgrade, the failure mode is silent staleness rather than a loud error, so spot-check autocompletion after any Actions version bump.
The one-line ask: Approve as a pinned, owned, low-cost DX win contingent on a clean dependency pre-flight and confirmed Laravel Actions v2 usage — not as a strategic bet.
How can I help you explore Laravel packages today?