Creating the project instance
How wonderful is it to start on a new project after having worked on something else previously? You are more confident now. You have a prepared environment with suitable tools. Let’s practice what we have learned in the previous chapters. Using the Create Laminas Project external tool configuration in Eclipse, create a project named whatstore
. Remember that, after creating, you need to open the project, using the File | New | PHP Project menu. In fact, Eclipse won’t create a new PHP project, but it will open an existing project in the filesystem.
After creating the project, you can start the application using the embedded PHP web server (considering that you are running inside the whatstore
directory) as follows:
php -S localhost:8000 -t public
If you open the localhost:8000
address in the browser, you will see the welcome page of Laminas, as you have done previously in Chapter 2, Setting Up the Environment for Our E-Commerce Application...