Previous | Next | Up | Table of Contents

5.1. Quickstart Settings

The following shows the Quickstart tab of the Project Settings dialog:

Quickstart Settings

The fields that need to be entered are:

  • Project source folder: This is the folder containing your PHP source code. You may have files and folders within this. You can select the source folder just by clicking on the Browse button.
  • Target folder name: This is where the encoded versions of your files will be put. This will be just the name of folder and not a path. If this folder does not exist then it will be created by the Encoder.
  • Location of the project target folder: This is a path to the folder that will contain the target folder. This can be selected by clicking on the Browse button. The ionCube PHP Encoder will create the target folder within this location if it does not already exist.
  • Encoder version: The ionCube PHP Encoder package not only contains the current encoders but also has the encoders from the previous two versions, legacy (the previous version, 9.0) and obsolete (two versions ago, 8.3). The purpose of providing those older encoders is to cover the case where some of your customers have older loaders and cannot update them to the latest version. That may occur if they are on certain shared web hosts. Files produced by the legacy version should work with version 5.0 loaders and above. Files produced by the obsolete version should work with version 4.4 loaders and above.
  • PHP source language: This will be the level of PHP language that you are using in your PHP source. You will need to choose the PHP version that includes the language features that you are using. So if you are using namespaces or closures, which were only introduced in PHP 5.3, then you will need to choose PHP 5.3 or above as the source language. If you are using traits or other PHP 5.4 features then you will need to choose PHP 5.4 or above. If you are using generators or finally then you will need to choose PHP 5.5 or PHP 5.6. If you are using variadic functions then you will need to choose PHP 5.6. If you are using the nullable types or the combined comparison (Spaceship) operator then you will need to choose PHP 7.1. If you are using the object type declaration then you will need to choose PHP 7.2. There is a "PHP 5.6 & 7.1" encoding option that produces a bundled encoding where the encoded files include both an encoding with PHP 5.6 as the source language and, also, an encoding with respect to PHP 7.1. The encoded files will then run on PHP 5.6, 7.0, 7.1 and 7.2 with the appropriate ionCube Loader installed. Note that the source files must be language compatible with both PHP 5.6 and 7.1 for the bundled encoding to be done successfully.

Having entered the above settings, click on the OK button and you will then be ready to encode your project.