Quick Start

**Note** If you have not used **PHP**, **MySQL** or **Apache** before, read [Introduction to PHP, MySQL and Apache](ampstack.html) and set up **PHP**, **MySQL** and **Apache** on your PC first.
PHPMaker connects to your database, extracts tables and fields information, and generates PHP scripts instantly based on these information. For each table, it will generate a list page, add/copy page, view page, edit page, delete page and search page all linked up properly. To generate scripts, you just need to follow the tabs and setup the options, that is:
**Database -> PHP -> HTML -> Security -> Generate**
However, if you are a first time user, we recommend you to generate a basic PHP application and get to know how PHPMaker works first. To generate your first PHP project, you can skip the options and use default settings first. In other words, you skip the intermediate steps and go directly to the Generate tab after connecting to your data source, that is:
**Database -> Generate**
You can generate the web site quickly by the following steps:

Setup Database

Open PHPMaker, go to the **Database** tab, enter connection information of your MySQL server. ![Quick Start](images/quick1.png) Click the **Connect** button to load the database information. Tables and fields information will be loaded and displayed on the left hand side. ![Quick Start](images/quick2.png) Generate Scripts Click the **Generate** tab and select the follows: - **Template** - The package that contains the template of the generated pages. Just use the default template shipped with PHPMaker. - **Project folder** - The folder that the generated scripts will reside. ![Quick Start](images/quick4.png) To run PHP you need to setup a website. If you are not familiar with setting up a web server, you can use tools like [WampServer](https://www.wampserver.com/en/) or [XAMPP](https://www.apachefriends.org/index.html). These are **local web server stacks** that bundle PHP, MySQL, and Apache, allowing you to run and test your web applications on your own machine without needing a live hosting environment. If you have not set up your web server for the website at the selected project folder yet, create it first, see [Creating a Website in Wamp/XAMPP Using a Custom Folder](ampstack.html?id=creating-a-website-in-wamp-xampp-using-a-custom-folder). If you have **already** set up your website, you can check **Browse after generation** and enter **Testing URL** as the URL of your website, e.g. `http://localhost/project1`. Click the **Generate** button (or press **F9**), the generation process will begin. Note that during the process you need to download some PHP packages from the internet, so make sure your computer is online. After the web site is generated successfully, the web site should be ready to run. If **Browse after generation** is enabled, PHPMaker will open your browser, and - voila! - you'll see data from your database is displayed in your first PHP website. ![Quick Start](images/quick6.png) After understanding how it works, you can set up your project using the various options provided by PHPMaker to fit your needs. See [Project Setup](projectsetup.html) for full details.

Symfony Local Web Server

Another way to test your website in the **development** environment is to use [Symfony local web server](https://symfony.com/doc/current/setup/symfony_cli.html#symfony-cli-server). To run Symfony local web server, you need to install the [Symfony CLI](https://symfony.com/doc/current/setup/symfony_cli.html) first. The Symfony CLI includes a **local web server** designed for development. It's not intended for production use, but it provides features that improve the developer experience. To serve a Symfony project with the local server, open Powershell or command prompt and enter: Then browse the given URL or run the following command to open it in the browser:




 ©2002-2026 e.World Technology Ltd. All rights reserved.