Creating a New Project

This procedure describes how to create a project for the first time. Projects are used to define specific settings for a group of PHP files that represent a complete PHP application. Projects are a collection of source inputs such as files and paths of files to be encoded. Inside a project you can define the specific encoding, obfuscation and license settings that will be applied to the files related to the project. There are also additional options for excluding certain entities.



Instructions on how to complete a procedure

To create a new project:

  1. From the menu-bar, select File | New | Zend Guard Project.
    The Zend Guard Project dialog is displayed.

Project and License Wizard

  1. Define the project's basic settings:

  • Project Information -

    • Project Name - The project name. Make sure the project name does not include spaces, use "_" as a separator if necessary.

    • Project Contents - These are the files/folders that comprise the bulk of the Zend Guard project.

  • Guard Product Information -

    • Product Name - The name of the (end) product.

    • Product Version - The current version of the (end) product.

    • Output Location - The directory that will hold the (end) product files after creation by the Zend Guard. The target directory must not be the same as the source directory.

  1. Click Next.
    The Add Files and Folders dialog is displayed.

Configure Source Dialog

  1. Click Add Folder or Add File to add existing resources to the new project.
    The Open Folder/File dialog is displayed.

  1. Click Browse to select an existing resource, or Click Add to add an extension type.
  1. Click Next.
    The Configure Source Settings dialog is displayed.

  1. Select a PHP version from the drop-down menu, and configure the PHP files to encode or ignore using the relevant Add and Remove buttons.
  2. Click Finish to create the project. 
    The new project is added in the Guard Explorer section. Navigate through the different tabs to configure the project's specific settings.


To create evaluation software that expires after a designated period of time, use the license-file expiration options on the License tab.