Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

oxbtcpce's avatar

Autocomplete php in blade

Hi, I'm using PhpStorm 2016.3.3 version and in my blade files have the following code

@section('content')
    The pizza size is: {{ $pizza->size() }}
@endsection

The code completion of this variable seems to work in regular PHP, but not in blade. Do I need to configure something?

0 likes
2 replies
bobbybouwmann's avatar
Level 88

I believe there was a bug in PHPStorm with this. Right now there is version 2017.3.2, so I would recommend you to upgrade to the latest version. The latest version also offers better support for the new blade tags like @json and @csrf and more cool stuff.

Let me know if that worked for you!

oxbtcpce's avatar

Upgrading PHP Storm worked! Thanks for the quick reply

Please or to participate in this conversation.