A
A
Alexander Ampleev2019-12-09 17:41:25
Laravel
Alexander Ampleev, 2019-12-09 17:41:25

How to make php doc work in Laravel 6.x in phpstorm view blade?

this is how the wind starts. I would like to suggest "article" when typing "arti" and suggesting the properties of the App/Article model when typing "article->" ..

@php
    /**
      * @var $article \App\Article
      **/
@endphp

@extends('layouts.app')

@section('title', $article->title)

Is it really possible to do that?
There are no hints right now.
5dee5cf795742117649956.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Pushkarev, 2019-12-09
@AXP-dev

Wait until laravel plugin is updated in phpstorm.

N
Nikolai Smirnov, 2019-12-09
@Bzdykin

See this note.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question