How to Install Your CRUD PHP Application?
Step-by-step Installation Guide

Upload PHPCG on your server, run the installer & follow the steps


Installation process

The installation of PHP CRUD Generator is done in a very few simple steps as shown in the instruction video above. Here is how to proceed:

  1. After having purchased PHP CRUD Generator and downloaded the ZIP file from phpcrudgenerator.com, unzip the ZIP file into your project directory. The structure of your project should look like the tree structure shown in the documentation.

    All the folders are required, except the documentation folder.

    If you are using PHP composer, rather than adding the contents of the PHP CRUD Generator's vendor directory to your own vendor directory it is advisable to install the required packages by adding them to your composer.json. Here are the packages required by PHPCG:

    // If you use PHP Composer and already have a "vendor" folder
    // Add the following packages to your composer.json
    // Then run "composer update" from your command line tool.
    {
        "require": {
            "twig/twig": "^3.4.1",
            "visualappeal/php-auto-update": "^1.0.1",
            "desarrolla2/cache": "^3.0.1",
            "migliori/visual-diff-merge": "^1.0"
        }
    }
  2. Open your web browser and go to the following URL: http[s]://[your-project.com]/install/index.php to launch the installation.

    The Requirements & License step analyses your server settings and displays an alert with instructions if it detects missing PHP modules, missing write permissions or any other setting that should be reviewed before installation. Once everything is ok, enter your email address and license key to activate your license, then click Next.
    If your license is already active on this domain, it is detected automatically.

  3. The Database step asks for the connection settings of the database you want to use: host, database name, user and password. There's no server-type choice to make: the connection you enter here is stored for the current server only, so each server (for instance your local dev server and your production server) can register its own settings in the same db-connect.php file.

    The application will connect to your database. If you encounter a database connection failure warning with the error number 2002 it always means that the connect information that you entered in the previous step is wrong.
    Else you'll see a Database connection successful message.

    Enter the name of your project (it'll be displayed in the admin dashboard's header).
    Choose a logo, check wether if you want the installer to install the demo database or not, then validate.

  4. The installation is complete, you can open the Generator URL to start building your admin dashboard.

Prerequisites

To install PHPCG on your server you must beforehand:

PHP CRUD tutorial main page