Quantcast
Channel: Oracle Bloggers
Viewing all articles
Browse latest Browse all 19780

Add project dependency via Composer

$
0
0

Hi all, NetBeans 7.3 is already out so it is a time for implementing new features for the next version of NetBeans. Today, we will have a look at the improvements in the Composer support.

 Composer is a Dependency Manager for PHP so it should be really possible to add dependencies to your PHP projects, right? Fortunately, this feature has been implemented and can be tested in the current development version of NetBeans. How it works? It is very simple, just invoke the proper action:

Add dependency

Dialog for searching and adding packages is displayed:

Dialog for Composer packages

Now, just select appropriate package, choose the version and hit Require or Require (dev) button. NetBeans uses Composer for all these actions (unfortunately, the speed of these actions could be far better) so complete logs of all actions can be reviewed in the Output window:

Composer log in Output window

That's all for today, as always, please test it and report all the issues or enhancements you find in NetBeans Bugzilla (component php, subcomponent Composer).


Viewing all articles
Browse latest Browse all 19780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>