Good News for Laravel Developers
I’ve blogged about the code completion changes in Blade templates before (you can find the post here), but there have been some extra changes worth mentioning. In the original post, you’ll see that I’m using
<?php tags in the Blade templates to add the annotations, and that’s just not very… Laravel. So in 2017.1, we not only support the
<?php tags but also the
@php directive allowing you to get code completion in the view layer without breaking Laravel’s rules.
We’ve also added support for some new Laravel directives:
– Gary & The PhpStorm Team