To install this script on localhost, you need to use Laragon as your local server. Download and install Laragon from https://laragon.org/download/index.html
Step 1: Open the Laragon app and start the server by clicking "Start All". If you see firewall notices, click "Allow".
Step 2: Click the Root button to open the directory, upload the installable zip file, then unzip it.
Step 3: Make sure you have Virtual Host enabled — this is very important for running the SaaS script on Windows.
Step 4: Create a database for the installation process. Right-click on the Laragon app, go to MySQL, then create a new database. Give it the name nazmart.
Step 5: Right-click on Laragon, go to the www menu, then click on nazmart. It will open the project in the browser for installation.
Step 6: When the browser opens the app, you will see the installation screen. Click "I Agree, Next Step".
Step 7: Make sure all check marks are green — this means all required extensions and the required PHP version are available.
Step 8: Make sure all checks are green here as well — this ensures the script has permission to write to those directories.
Step 9: This step ensures the database is available with the installation file.
Step 10: Database & Admin Information. Add your database information and default admin login information.
- Database Information: You have to create a database for the script and add the details.
- Admin Login Details: Remember these — they are required to log in to the admin panel.
Click "Check Database Connection". It will verify the connection and then install the script automatically. When installation is done, you will see a success message. Click "Visit Website" to go to the home page.
Step 11: Enable SSL from Laragon. Right-click on Laragon, then click on Apache > SSL > Enable. After enabling SSL, click "Start All".
Step 12: Your website should now load correctly. The remaining task is to configure the wildcard subdomain for your local server.
Step 13: To make subdomains work on localhost:
Open Notepad in Administrator mode. Click File > Open and open C:\Windows\System32\drivers\etc\hosts. Add the marked line — change the subdomain to match the one you created. Add all the stores you have created here to make them work properly on localhost.
That is all for running the SaaS script on a Windows machine.

