Now that we have created the project, we need to add some simple code. We will start by adding a PHP File. To do this, select File-New-PHP File. The 'New PHP File' window will appear. This window allows you to select the file name and the container. The container is the directory that you want to create the file in, and the filename is, well, the name of the file, with the php extension.
Once you have entered the directory name and the filename,
click Finish to complete the process. The PHP editor will appear and your
new, empty file will be open in it.