Format: The package will be in a .zip file format.
2. Unzip the Package
Extract the contents of the downloaded .zip file to a directory on your computer.
3. Xampp
Make sure to have Xampp with PHP v8.2 or higher version installed & running on your computer. If you already have installed Xampp on your computer, you can skip this step.
4. Composer
Make sure to have the Composer installed & running in your computer. make sure the composer version must be 2.8.3 or Higher.
5. Install Node Modules
Open your terminal or command prompt and navigate to the directory where you unzipped the package.
Execute:
npm i or npm install
6. Create a Production Build
Command: In the same directory, run:
npm run build
This command will create a production-ready build of your project in a distribution directory.
7. Start in Development Mode
Command: To begin development and work on your project in a live environment, execute:
php spark serve
Outcome: This will launch a local development server, allowing you to preview your project in real-time. The server also provides hot-reloading, meaning any changes you make to your files will automatically refresh in your browser. It will be accessible at http://localhost:8080.