Calculator (Nette Tester)

NetBeans PHP Sample Application

What is Calculator?

Calculator is a simple calculator that supports basic arithmetical operations. This PHP application is created to highlight PHP features supported by NetBeans IDE.

This sample is not intented to be used in a production environment without any changes.

This sample demonstrates the following features:

  • unit testing using Nette Tester

Requirements

Follow these before you run the sample:
  • Install NetBeans IDE with PHP support
  • Install and configure PHP Runtime
  • Install all dependencies using Composer (click on project and invoke Composer > Install (dev))

What is included?

  • NetBeans PHP Application Project

Before the start

Getting Started

  1. For the very first run, Nette Tester must be installed via Composer (see Requirements).
  2. Simply test the project. Right-click the project node and select Test. IDE will inform you about the test results (window with test results can be opened manually).
  3. Play futher with the sample :)