Composer support

Posted by Tomas Mysik on Oracle Blogs See other posts from Oracle Blogs or by Tomas Mysik
Published on Tue, 23 Oct 2012 07:03:02 +0000 Indexed on 2012/10/23 11:09 UTC
Read the original article Hit count: 182

Filed under:

Hi all, today we would like to introduce you our Composer support which will be present in NetBeans 7.3. If anyone of you does not know Composer yet, please be informed that:

"Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you."

So, what support do we have in NetBeans? The first step, as usually, is to open the Composer IDE Options panel:

Composer NetBeans IDE Options

Once it is configured properly, it is time to create composer.json file where we can define dependencies (libraries) of our PHP project:

Create composer.json file

The generated file is opened so we can review it and add any libraries: 

Generated composer.json

Now, you are ready to install, update or validate library dependencies of your PHP project:

Validation of composer.json

We hope that you enjoy this initial support and that we will be able to improve it in the next version of NetBeans. 

 

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).

© Oracle Blogs or respective owner

Related posts about /Features