O'Reilly logo

PHP Application Development with NetBeans Beginner's Guide by M A Hossain Tonu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — installing ApiGen and configuring it with NetBeans

We are already familiar with installing PHP libraries via PEAR (discussed in the previous chapter), and we may have had the PEAR configuration auto_discover set to ON. In this section, we will install and configure ApiGen with NetBeans, using the following steps:

  1. From the terminal or command prompt, run the following commands to install ApiGen:
    pear config-set auto_discover 1
    pear install pear.apigen.org/apigen
    

    The install command will automatically download and install ApiGen along with all of its dependencies. Skip the first command if you have already enabled PEAR auto_discover.

  2. Now, we need to add the ApiGen executable file to the IDE. Open the IDE Options window from Tools ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required