phar-Support for .tar.gz archives
Hi there
I'm using *.tar.gz archives for packing modules in one simple file. And I access the files in it over the phar:// stream-wrapper. My question is now, how to tell phpStorm to search inside the *.tar.gz archives for classes, interfaces, etc I use in my project.
Can anyone help me with this :-)? Thx.
请先登录再写评论。
Hello.
Search inside archive should be supported now. What PhpStorm version do you use? Is your code using code inside phar red? Is string inside "phar://..." navigatable?
Well I use the latest 5.0.3. The scripts runs perfectly on the test XAMPP server. I use namespaces. Classes outside a phar are recognized correctly, but inside a tar.gz phar-archive the namespace is red colored.
Attachment(s):
phpstorm1.jpg
If those namespaces are used only inside phar, could you attach it here?
Well these namespaces are inside the phar and I want to use them outside a phar in a normal php file in the file system. I like to use them the same way as a jar-Library in Java for example.
This is the issue about it. Feel free to vote and watch.