Setup PHP

Introduction

Dason – PHP is a simple and beautiful admin template built with Bootstrap 5.3.2 and PHP 8.0 . It has 7+ different layouts and 3 modes ( Dark, Light & RTL ). It has working auth and email functionality. You can simply change to any layouts or modes by changing a couple of lines code. You can start small and large projects or update design in your existing project using Dason PHP. It is very quick and easy as it is beautiful, adroit, and delivers the ultimate user experience.

Server Requirements
  • PHP 8.0

    Make sure to have the PHP-8.0 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 & runningin your computer. If you already have installed Xampp on your computer, you can skip this step.

Installation

To setup the admin theme, follow below-mentioned steps:

  • Install Prerequisites

    Make sure to have all above prerequisites installed & running on your computer

After you finished with the above steps, you can run the following commands into the terminal/command prompt from the root directory ( Dason*/PHP/ ) of the project to run the project locally or build for production use:

Description
Create a new database with name dason_php. Then import the dason_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 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 layouts/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 <?php echo $language["Forms"]; ?> in the view.
Tips

CSS: We suggest you do not change any scss files from the assets/scss/custom folders because to get new updates will break your CSS changes if any you have made. We strongly suggest you create a new custom.css file and use that instead of overwriting any template's custom CSS files.

© Themesdesign.
Crafted with by Themesdesign