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.

5 comments
Comment actions Permalink

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?

0
Comment actions Permalink

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
0
Comment actions Permalink

If those namespaces are used only inside phar, could you attach it here?

0
Comment actions Permalink

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.

0
Comment actions Permalink

This is the issue about it. Feel free to vote and watch.

0

Please sign in to leave a comment.