Setup
Introduction
Upcube PHP is a fully featured premium php-admin dashboard template built with Bootstrap 5 and PHP.
Prerequisites
Please follow below steps to install and setup all prerequisites:
-
PHP 8.2
Make sure to have the PHP-8.2 or latest version installed & rrunning on your computer. If you already have installed PHP on your computer, you can skip this step.
-
Xampp
Make sure to have the the latest version of xampp installed & running in your computer. If you already have installed Xampp on your computer, you can skip this step.
Installation
To setup admin theme, follow below mentioned steps:
-
Install Prerequisites
Make sure to have all above prerequisites installed & running in your computer
After you finished with above steps, you can run the following commands to run project locally or build for production use:
Description |
---|
Set extract zip to in the file location in c:/xammp/htdos/filename
|
Create a new database with name upcube-php,
Then import the Upcube-php.sql file in your database.
|
Configure the Database credentials in the config.php file. |
You can test locally with signup as a new user to check all the pages. |
Multi-Language (PHP) Settings
1.Let's add a new language Italy.
-->Create an it.php file in the assets/lang
folder. And refer to the other languages to add or update the keys and values for translation.
2.You need to add a new language in the topbar dropdown in the file partials/topbar.php
file and
fin the class "language-switch". You can add a new language flag so it will be able to render in the topbar.
3.You can use $language["t-Forms"];
in the view.
Email Settings
1.You can configure the email credentials in the config.php
file.
NOTE: Manage your google account security with create app password using below link and set it into config file.