J
J
JohnDaniels2016-09-02 23:04:39
phpstorm
JohnDaniels, 2016-09-02 23:04:39

How to make Eloquent and PhpStorm friends?

There is a self-written project ( not Laravel ). As an ORM, Eloquent is attached to it, which, as it turned out, can be used separately from laravel. Everything works fine, only the storm swears at the methods
dcc98bb4d06f457c85a066002bc383cc.png
in Laravel, this issue is solved by the plugin + Ide helper, this approach naturally does not work here.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav Plisko, 2016-09-02
@AmdY

Don't use static methods.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question