Installation & Build
Info: Please note, the use of Node, Webpack & Gulp and their advanced settings are totally optional. You can use and customize the template without using them too.

We have used understandable and easy-to-understand instructions to help you install Urbix- PHP Admin & Dashboard Template in your project. Follow the below steps to get started.

1. Xampp
  • Prerequisite:Make sure to have the Xampp installed & running in your computer. PHP Version 8.2 or Higher
2. Install Yarn and Node.js (if not already installed)
  • Prerequisite: Ensure Node.js and npm (Node Package Manager) are installed on your system. Make sure to use node version 22.*.
  • Command: If Node.js is not installed, download and install it from the website. npm comes bundled with Node.js.
3. Install Node Modules
  • Setup: Open your terminal or command prompt from the Urbix_v1.0.0/Admin folder.
  • Execute: Run the following command to install all the required Node.js packages and dependencies specified in the package.json file:
    yarn
  • Explanation: This command will download and install all the necessary dependencies for your project, including build tools, libraries, and plugins, ensuring your development environment is set up correctly.
4. Create a Production Build & Libraries Folder
  • Command: After the dependencies are installed, generate a production-ready build by running:
    yarn run build
  • Outcome: This command compiles and optimizes your assets, creating a distribution folder (`/dist`) that contains minified and ready-to-deploy files. It ensures your project is optimized for performance in a production environment.
5. Start in Development Mode
  • Command: To begin development and work on your project in a live environment, execute:
    set extract zip to in location c:/xampp/htdocs/urbix_php
  • 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 c:/xampp/htdocs/domiex_php.