Skip to content

Helper Methods Creation

Laravel utilizes numerous "magic" methods within its Eloquent Models. By default, PhpStorm cannot recognize these methods, resulting in limited autocompletion support.

To improve PhpStorm's understanding of Eloquent Models and enable autocompletion for their methods, attributes, relations use the "Create Helper Methods For Eloquent/DB" plugin.

Overview


This action generates the necessary helper code, enabling PhpStorm to provide autocompletion for Eloquent's magic methods.

Overview

Overview

INFO

Autocompletion for Eloquent fields in methods is coming soon.

Copyright © 2025 Alireza-Moh | MIT License