5.1. Quickstart

The Quickstart tab in the Project Settings dialog is illustrated below:

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 a 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, 12.0) and obsolete (two versions ago, 11.0). 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 12.0 loaders and above. Files produced by the obsolete version should work with version 11.0 loaders and above.
  • PHP language range:

    This specifies the minimum and maximum PHP runtime version you wish to support for the generated files. The selection determines which encodings will be performed, with files in some cases containing a Bundle of more than one encoding. Below the selection, the GUI shows which runtime versions of PHP are supported by the selection.

    The minimum version should be chosen to be no lower than the PHP language version used by the source files. For example, files cannot be encoded for PHP 7 if they use syntax only available in PHP 8.

    As in the example screenshot above, the maximum supported runtime version may show as higher than that selected. This would be if the ionCube Loader runtime is able to process files encoded for an older version of PHP; e.g. the ionCube Loader for PHP 8.3 being able to process files encoded for PHP 8.2 in this case.

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