NBPhar - plugin detail

Provides support for PHP PHAR files. The phar extension provides a way to put entire PHP applications into a single file called a "phar" (PHP Archive) for easy distribution and installation. In addition to providing this service, the phar extension also provides a file-format abstraction method for creating and manipulating tar and zip files. For now this plug-in allows only READ-ONLY access to the PHAR contents.

NetBeans Plugin - NBPhar
Plugin owner: npetrovski
Website: https://github.com/npetrovski/nbphar
Added: 2015-06-27
License: GPLv3
Category: Utilities
Downloaded: 953 times
Rating:
 4.61, by 4 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.33 MB   Last Update: 2015-12-29

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

Added support for NetBeans 8.1

Verifications for NetBeans versions

8.1 verification PASSED See verification details
Download plugin   Download size: 0.32 MB   Last Update: 2015-06-27

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version



Verifications for NetBeans versions

8.0 verification PASSED See verification details


Introduction

Provides support for PHP PHAR files. The phar extension provides a way to put entire PHP applications into a single file called a "phar" (PHP Archive) for easy distribution and installation. In addition to providing this service, the phar extension also provides a file-format abstraction method for creating and manipulating tar and zip files. For now this plug-in allows only READ-ONLY access to the PHAR contents.

[ You have to be logged in to be able to comment. ]

User Comments

  

Still not working in NetBeans 8.1

Downloaded the latest version for NB 8.1, installed it and it still does not work.

Here is my system info:
--------------------------------------
Product Version: NetBeans IDE 8.1 (Build 201510222201)
Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27
System: Windows 7 version 6.1 running on amd64; Cp1251; en_US (nb)
User directory: C:\Users\****\AppData\Roaming\NetBeans\8.1
Cache directory: C:\Users\****\AppData\Local\NetBeans\Cache\8.1
--------------------------------------

Plugin Version:
--------------------------------------
Version: 1.1
Source: 1451379827_name-npetrovski-nbphar.nbm

--------------------------------------


The phars that I am testing with are here:

https://phar.phpunit.de/phpunit.phar

and here
https://phar.phpunit.de/phpunit-skelgen.phar

Posted by rusev_superhosting on Feb 05, 2016
  

#Re

At this version of the plugin you can only browse .phar files. PHAR generation adapter will be added on later versions.
Posted by npetrovski on Dec 31, 2015
  

generate a * .phar

My question is whether you can generate a phar or only serves to explore * .phar existing?
Posted by grafity on Dec 31, 2015
  

#Re

@grafity - no tutorials so far, although I believe no extra skills are needed in order for you to use this plug-in. Very much like you are able to "explore" JAR files in NetBeans, this plugin enables you to expand the PHAR archive files and view its contents (directory structure, files).

Let me know if you need any more information on how to use it, or you have experienced any difficulties in installing it.



@sharkfinger - Thank you for reporting the issue with NB 8.1 - it is now solved and the new version of the plugin is now released.

Unfortunately for the moment NBPhar only allows to view the structure of the PHAR files and view its contents (open files). Indexing of the inner file contents is not yet supported, hence "jumping" to the class definitions wont work. I will spend some time in the near future to work on that problem.


Posted by npetrovski on Dec 31, 2015
  

as the plugin is used


There are some tutorial?

Thank you...
Posted by grafity on Dec 31, 2015
  

Does Not work with 8.1

Displays Phar in NB 8.1 but does not expand it or auto-complete.

In NB 8.0.2, it expands the phar and you can browse the contents but in the example of phpunit.phar, you cannot click on PHPUnit_Extensions_Database_TestCase when defining

abstract class Database_ConnectionAbstract extends PHPUnit_Extensions_Database_TestCase

and have it go to that class.

Same set up in PHPStorm works perfectly and can even step through PHPUnit code in xdebug.
Posted by sharkfinger on Dec 23, 2015
  

Brilliant

Really helps me a lot in my daily job. Thanks!
Posted by bangelov on Jun 29, 2015
  

Awesome !!!

Awesome !!!! Thanks for the great plugin !!! I was waiting for something able to parse PHAR files in NetBeans.

Thanks ! :)
Posted by astoyanov on Jun 29, 2015
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo