Sand Fox (Posts about pimple)https://sandfox.me/tags/pimple.xml2024-03-25T17:50:26ZAnton SmirnovNikolaPhpStorm Advanced Metadata Exporterhttps://sandfox.me/php/phpstorm-metadata.html2018-03-06T07:54:00+02:002018-03-06T07:54:00+02:00Anton Smirnov<p>As a Silex user I liked <a class="reference external" href="https://github.com/Sorien/silex-pimple-dumper">Pimple Container Dumper</a> that worked with <a class="reference external" href="https://github.com/Sorien/silex-idea-plugin">Silex Idea Plugin</a> to enable code completion
for Pimple DI in PhpStorm. But now with Silex EOL'd I have to move to Slim.</p>
<p>I've found no such projects so I had to write my own. Here it is: <a class="reference external" href="https://sandfox.dev/php/phpstorm-metadata-export.html">sandfoxme/phpstorm-metadata-export</a>.
It currently supports exporting data from Pimple and has 3 integration middlewares: for Slim, for Silex and
for Psr-15 compatible frameworks.</p>
<p>P.S. Code completion support for ArrayAccess containers seem to be currently broken
in PhpStorm (<a class="reference external" href="https://youtrack.jetbrains.com/issue/WI-33309">WI-33309</a>, <a class="reference external" href="https://youtrack.jetbrains.com/issue/WI-35503">WI-35503</a>).
So I don't currently recommend replacing Silex Idea Plugin with this library unless you use Pimple in Psr-11 compliant
way (like Slim does by default)</p>