Slim3 integration cannot resole handler message
Hi have this a tag
<a href="{{ path_for('auth') }}" class="btn-login btn-warning pull-left"><< Voltar</a>
Phpstorm is highlighting:
{{ path_for('auth') }}
I got a message cannot resolve that. Do I need to configure something so that it recognizes slim 3 integration?
Please sign in to leave a comment.
Hi there,
PhpStorm by default does not have any specific support from Slim framework.
What exactly is highlighted -- the "path_for()" part or braces {{ }} ?
If braces -- is this a twig syntax? What extension that file uses? What File Type PhpStorm uses for that file?
For Twig ensure that Twig Support extension is enabled (bundled by default)
For actual Slim framework -- maybe there is dedicated plugin for it? If not -- maybe another plugin can help here e.g. Symfony? (just a random shot as I'm not familiar with Slim)