Valex - Laravel Tailwind CSS Admin Dashboard Template

Dashboard
Welcome to Valex - Laravel Tailwind CSS Admin Dashboard Template
  • Created Date : 20/May/2024
  • Author : Spruko
  • Company : Spruko Technologies Private Limited

Thank you for showing interest towards our admin template. Feel free to contact us any time. We have a dedicated team to provide you the best support. If you want any queries open support ticket https://support.spruko.com.

Introduction
Welcome to Valex – Laravel Tailwind CSS Admin Dashboard Template

Valex - Laravel Tailwind CSS Admin Dashboard Template, With these template formats, it's very easy to create a presence and grab someone's attention around the web page Because the template is built using HTML5, CSS3, Tailwind CSS framework and with Sass. So please before you start working with the template take a quick look on the documentation so that you can easily built your website.

If You Love Our Template Design Please don't forgot to rate it. Thank you so much! 😊

Template Description

Valex Laravel is a Tailwind CSS Admin Dashboard Template using modern and minimal design. It is fully flexible user-friendly and responsive. Valex Laravel Modern template is powered with HTML 5, SASS, & Tailwind CSS which looks great on Desktops, Tablets, and Mobile Devices. This Template Includes 150+ PHP Pages . No Need to do hard work for this template customization. We already designed it and you can easily design your website just how you like it. This template is build using Laravel Tailwind CSS framework. After Purchased this template you will get All PHP files,CSS, Scss and JS Files.

It has super clean flat user interface admin design, easy customizable components and widgets.The Template comes with a awesome unique design also we ensure you can easily design template.

It is a fully responsive layout for all type of devices. Works on all major web browsers, Desktop, iPhone, iPad, Tablet and all other smart phone devices

Once you Purchase Valex Laravel Tailwind CSS Admin Dashboard Template, you will be able to get free download of all future updates.

Template Features
Dark Theme Ready RTL Version Boxed Layout
12 Dashboards Authentication Pages Error Pages
150+ PHP Pages Easy to Customize Tailwind CSS Framework
Form Elements Draggable Cards Ratings
Reviews Page About us Faq's
Todo List Gallery Task
Grid JS Data Tables Edit Tables
Apex Charts Chartjs Charts Echarts
Full Calendar Sweet Alerts Swiper JS
Timeline Stepper Skeleton
Blog Pages Mail App Chat
File Manager Invoice Landing
Pricing Profile Team
24 * 7 Professional Company Support Ecommerce Pages Under Construction Page
Color Theme Support (Primary and Background) Neat, clean and simple design W3C Validated
Switcher Features :
Theme Styles
  • Light & Dark Themes
  • LTR & RTL
  • Vertical & Horizontal Navigation Styles
  • Menu Click & Hover Styles
  • Icon Click & Hover Styles
  • Page Regular, Classic Styles & Modern styles
  • Layout Full Width & Boxed
  • Menu Fixed & Scrollable
  • Header Fixed & Scrollable
  • Sidemenu Closed
  • Icon Text Menu
  • Icon Overlay
  • Detached
  • Double Menu
Theme Colors
  • Menu Light
  • Menu Dark
  • Menu Color
  • Menu Gradient
  • Menu Transparent
  • Header Light
  • Header Dark
  • Header Color
  • Header Gradient
  • Header Transparent
  • Theme Primary
  • Theme Background
  • Menu With Background Images
Minimum Requirements
  • PHP >= ^8.2 or Newer
  • Laravel >= ^11.0 or Newer
  • Ctype PHP Extension
  • OpenSSL PHP Extension
  • Fileinfo PHP extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
  • JSON PHP Extension
Installation Process of Composer

Note: The clear documentation of PDF is given on How To Run Laravel Project In Localhost - For Beginners. Please Check out the PDF before running the project.

In order to run Laravel we need to install composer by the following steps
Steps to Download & Installation of Composer

Step1 : Please visit the Official Web Site of the Composer www.getcomposer.org

Step2 : Click on the Download option

Step3 : Click on the Composer-Setup.exe you are done with download

Step4 : Now Right click on the Composer-Setup.exe file and select Run as administrator click on Yes

Step5 : You'll be getting two options click as per your choice

Step6 : I choose Recommended option here and if your developer you can check the box of the Developer Mode

Step7 : And click on the Next button please make sure of installation path and then click Next

Step8 : You'll be asked to enter proxy url please skip the step and click on the Next button

Step9 : Please make sure with the PHP Version it should not be less than 8.0v, here we used 8.1.12 Version and then click on the next button

Step10 : To confirm that Composer is installed in your system then type Composer in command prompt (if you are using XAMPP then go to C:\xampp\htdocs location and type composer)

Installation Process Of Laravel
Here we are using "Composer" to download "Laravel" packages

Note : This installation is shown based on XAMPP server..

  1. 1) Open the command prompt and locate the path where XAMPP is installed on your system.
  2. 2) In the command prompt, navigate to the following path:C:\xampp\htdocs>
  3. 3) Type the command: composer create-project laravel/laravel my-project and press Enter to install Laravel packages in the "htdocs" folder..
  4. 4) Wait for the necessary packages to download.
  5. 5) Once you see the prompt back at C:\xampp\htdocs>, it means Laravel has been successfully installed.
  6. 6) Navigate to your project root path: C:\xampp\htdocs/my-project>
  7. 7) Run the command: npm install -D tailwindcss postcss autoprefixer to install tailwindcss and its peer dependencies.
  8. 8) Run the command: npx tailwindcss init -p to generate both tailwind.config.js and postcss.config.js successfully.

  9. Note: If you have any further queries in installation please refer to the official websites Click here

After installation run following command to get laravel development server
php artisan serve
The Basic Structure Of Laravel Project
											
											β”œβ”€β”€ app
											β”œβ”€β”€ bootstrap
											β”œβ”€β”€ config
											β”œβ”€β”€ database
											β”œβ”€β”€ public
											β”œβ”€β”€ resources
											β”œβ”€β”€ routes
											β”œβ”€β”€ storage
											β”œβ”€β”€ tests
											β”œβ”€β”€ vendor
											β”œβ”€β”€ .editorconfig
											β”œβ”€β”€ .env
											β”œβ”€β”€ .env.example
											β”œβ”€β”€ .gitattributes
											β”œβ”€β”€ .gitignore
											β”œβ”€β”€ .htaccess
											β”œβ”€β”€ artisan
											β”œβ”€β”€ composer.json
											β”œβ”€β”€ composer.lock
											β”œβ”€β”€ package-lock.json
											β”œβ”€β”€ package.json
											β”œβ”€β”€ phpunit.xml
											β”œβ”€β”€ postcss.config.js
											β”œβ”€β”€ README.md
											β”œβ”€β”€ server.php
											β”œβ”€β”€ tailwind.config.js
											└── vite.config.js
											
										
How to Upgrade Laravel Version

If you want to Upgrade laravel version, Please follow the below steps, if not you can skip this procedure.

Step 1:

Replace below Dependency versions in composer.json file which is placed in root directory

  • php:- ^8.2
  • guzzlehttp/guzzle:- ^7.8.1
  • laravel/framework:- ^11.0.0
  • laravel/sanctum: ^4.0.0
  • laravel/tinker:- ^2.9.0
  • nunomaduro/collision:- 8.1.1
  • phpunit/phpunit:- ^11.0
Step 2:

Delete vendor folder

Step 3:

Set your project root path in command prompt and run the following command line in command prompt.

Composer update
How to Use Laravel Vite
In order to use laravel Vite you need to install Node.js in your system

Recommended LTS (long term support) version of Node.js.

Download latest version of node.js from nodejs.org

Install Node.js using .exe downloaded file.

To check your node version, run node -v in a terminal/console window (cmd)

Now you need to install Node Modules in your project folder

1. Go to your project folder and there you will find a file called package.json.

2. Open the file in your editor and make sure that all the dependencies are correct as shown below

  • "vite": "^5.2.10",
  • "vite-plugin-static-copy": "^1.0.3"
  • "lodash": "^4.17.21"
  • "preline": "^2.1.0"
  • "axios": "^1.6.8",
  • "laravel-vite-plugin": "^1.0.2",
  • "sass": "^1.75.0",
  • "postcss": "^8.4.38",
  • "@tailwindcss/forms": "^0.5.7"

3. And now set your project root path in terminal or command prompt Example: cd C:\Users\Admin\Desktop\my-project and type the below command line.

npm install

4. Wait until all the dependencies are downloaded to your project folder.

5. Now you can see the downloaded folder with the name of node_modules in your project folder.

6. Now in order to Compile Assets (Vite) first, you need to run development mode.

7. Set your project root path and type the below command line.

npm run dev

8. Once the development mode starts you can customize your assets

9. Once you completed with the customization work you need to run your project in Production Mode in order to run Production Mode run the below command line

npm run build

Assets Folder Structure

  
															β”œβ”€β”€ public/
															|   β”œβ”€β”€ build/
															|   |   β”œβ”€β”€ assets/
															|   |   |   β”œβ”€β”€ iconfonts
															|   |   |   β”œβ”€β”€ images
															|   |   |   β”œβ”€β”€ libs
															|   |   |   └── video
															|   |   └── manifest.json
															|   β”œβ”€β”€ .htaccess
															|   β”œβ”€β”€ favicon.ico
															|   β”œβ”€β”€ index.php
															|   └── robots.txt
															β”œβ”€β”€ resources/
															|   β”œβ”€β”€ assets
															|   |   β”œβ”€β”€ css
															|   |   β”œβ”€β”€ iconfonts
															|   |   β”œβ”€β”€ images
															|   |   β”œβ”€β”€ js
															|   |   β”œβ”€β”€ scss
															|   |   └── video
															|   β”œβ”€β”€ css
															|   β”œβ”€β”€ js
															|   β”œβ”€β”€ sass
															
													
Purpose of a starter kit
Introduction to the Laravel Starter Kit:

The Laravel starterkit is a resource that helps developers kickstart their Laravel web development projects by providing a preconfigured and ready-to-use template. It aims to simplify the initial setup and provide a foundation for building Laravel Framework-based websites or applications.

Purpose of the Laravel Starter Kit:

The purpose of the Laravel starter kit is to save developers time and effort by offering a set of prebuilt files and configurations commonly used in Laravel projects. Instead of starting from scratch, developers can leverage the starter kit to quickly set up a project structure that adheres to best practices and industry standards.

Benefits of Using the Laravel Starter Kit:

The starter kit eliminates the need to set up the basic project structure manually. It provides a well-organized file and folder structure, including commonly used directories for separating code, templates, assets, and configuration files. This allows developers to focus more on implementing business logic rather than spending time on initial setup.

Starterkit Overview

You can use the Starterkit if you are creating a new project. It will be time-consuming to use the full admin version for a new project as Valex have more than 155 pages.

We have provided all the pre-build layouts like Sidemenu, Header, footer and blank pages etc in the Starterkit.

For further information or support regarding the template, please contact us using the provided link: https://support.spruko.com/

Starterkit Folder Structure
													
													β”œβ”€β”€ app
													β”œβ”€β”€ bootstrap
													β”œβ”€β”€ config
													β”œβ”€β”€ database
													β”œβ”€β”€ public
													β”œβ”€β”€ resources/
													|   β”œβ”€β”€ assets/
													|   β”œβ”€β”€ css/
													|   β”œβ”€β”€ js/
													|   β”œβ”€β”€ sass/
													|   └── views/
													|       β”œβ”€β”€ layouts/
													|       |   β”œβ”€β”€ components/
													|       |   |   β”œβ”€β”€ footer.blade.php
													|       |   |   β”œβ”€β”€ main-header.blade.php
													|       |   |   β”œβ”€β”€ main-sidebar.blade.php
													|       |   |   β”œβ”€β”€ modal.blade.php
													|       |   |   β”œβ”€β”€ scripts.blade.php
													|       |   |   β”œβ”€β”€ styles.blade.php
													|       |   |   └── switcher.blade.php
													|       |   └── master.blade.php
													|       └── pages/
													|          └── dashboards
													|          		└── index.blade.php
													β”œβ”€β”€ routes
													β”œβ”€β”€ storage
													β”œβ”€β”€ tests
													β”œβ”€β”€ vendor
													β”œβ”€β”€ .editorconfig
													β”œβ”€β”€ .env
													β”œβ”€β”€ .env.example
													β”œβ”€β”€ .gitattributes
													β”œβ”€β”€ .gitignore
													β”œβ”€β”€ .htaccess
													β”œβ”€β”€ artisan
													β”œβ”€β”€ composer.json
													β”œβ”€β”€ composer.lock
													β”œβ”€β”€ package-lock.json
													β”œβ”€β”€ package.json
													β”œβ”€β”€ phpunit.xml
													β”œβ”€β”€ postcss.config.js
													β”œβ”€β”€ README.md
													β”œβ”€β”€ server.php
													β”œβ”€β”€ tailwind.config.js
													└── vite.config.js
													
												
  • Take a quick look at the folder structure of the "Starterkit."
  • Integration of your customized PHP pages becomes easy when using the "Starterkit."
  • The "Starterkit" provides all the layout components, related assets, and plugins.
  • To explore the contents of the "Starterkit," unzip the project folder received after purchase.
  • Navigate to the following paths:
  • Example: C:/xampp/htdocs/starterkit/resources/views/layouts/ - This folder contains files such as master.blade.php.
  • Example: C:/xampp/htdocs/starterkit/resources/views/layouts/components/ - This folder contains files such as main-header.blade.php, main-sidebar.blade.php, footer.blade.php and etc...
  • Example: C:/xampp/htdocs/starterkit/resources/views/pages/ - Add your PHP pages here if you have more.
How to Run Laravel Project in localhost

If you have installed XAMPP on your machine then please follow the below steps

Step:1 Quick view of Installations

1. Download and Install the Composer from official site https://getcomposer.org/

2. Install Laravel by using Composer as mentioned in the installation process above.

Step:2 Run project

1. Extract the zip folder of the laravel project in the path: EX: C:\xampp\htdocs\ that you have received after purchase.

2. Once the extraction is completed, type the localhost url in the browser to access the project. Example: http://localhost/my-project/

3. Another process for accessing the laravel project, open command prompt or terminal and set your project root path: Example: C:\Users\my-project

4. Now run the below commands in the terminal to get the output of the project.

  • npm install to get the node_modules install.
  • npm run build to get the build assets of the project.
  • And run the command line: php artisan serve
  • Laravel development server started: http://127.0.0.1:8000, now type the url in the browser to access the project.
Installation Instructions For both CPANEL’S and FTP
Installation Instructions

Upload the Project that you have purchased in below directory based on your server

FTP Uploading Process
    Access FTP:
  1. Login to your FTP server using your login credentials provided by your hosting provider.
  2. Upload Project Files:
  3. Now extract the project folder that you have received, in any of your directories
  4. Now navigate to that directory using FTP panel and upload the project in Path: public_html/ directory in your FTP server .
  5. Once the uploading completes you can access your domain Example: www.example.com
cPanel Uploading Process
    Access cPanel:
  1. Login to your cPanel server using your login credentials provided by your hosting provider.
  2. Upload Project Files:
  3. Once you successfully accessed your cPanel dashboard, navigate and click on File Manager
  4. Now open public_html and click on Upload
  5. Here you can select your zipped project folder or you can simply drag and drop your zipped project folder, once the uploading is completed go back to the public_html folder
  6. In the public_html folder, you will find your zipped project folder now you need to extract that project folder
  7. Once the extraction is completed you can access your domain Example: www.example.com
versions
  • composer:- 2.7.4
  • php:- ^8.2.12
  • vite:- ^5.2.10
  • laravel/framework:- ^11.0
  • laravel/sanctum:- ^4.0.0
  • laravel/tinker:- ^2.9
  • guzzlehttp/guzzle:- ^7.8.1
  • phpunit/phpunit:- ^11.0
  • tailwind css:- ^3.4.3
  • preline:- ^2.1.0
Blade View

Blade is a simple, yet powerful templating engine provided with Laravel.

--------Imports master file--------

@extends('layouts.master')


@section('styles')

 --------created a section called content--------

@endsection


@section('content')

 --------created a section called content--------

@endsection


--------get content data into master file--------

@yield('content')


@section('scripts')

 --------created a section called content--------

@endsection


Folder Structure
											
												β”œβ”€β”€ app/
												|   β”œβ”€β”€ Http
												|   |   └── Controllers
												|   β”œβ”€β”€ Models
												|   └── Providers
												β”œβ”€β”€ bootstrap/
												β”œβ”€β”€ config/
												β”œβ”€β”€ database/
												β”œβ”€β”€ public/
												|   β”œβ”€β”€ build/
												|   |   β”œβ”€β”€ assets/
												|   |   |   β”œβ”€β”€ iconfonts
												|   |   |   β”œβ”€β”€ images
												|   |   |   β”œβ”€β”€ libs
												|   |   |   └── video
												|   |   └── manifest.json
												|   β”œβ”€β”€ .htaccess
												|   β”œβ”€β”€ favicon.ico
												|   β”œβ”€β”€ index.php
												|   └── robots.txt
												β”œβ”€β”€ resources/
												|   β”œβ”€β”€ assets/
												|   β”œβ”€β”€ css/
												|   β”œβ”€β”€ js/
												|   β”œβ”€β”€ sass/
												|   └── views/
												|       β”œβ”€β”€ layouts/
												|       |   β”œβ”€β”€ components/
												|       |   |   β”œβ”€β”€ landing/
												|       |   |   β”œβ”€β”€ custom-switcher.blade.php
												|       |   |   β”œβ”€β”€ footer.blade.php
												|       |   |   β”œβ”€β”€ main-header.blade.php
												|       |   |   β”œβ”€β”€ main-header1.blade.php
												|       |   |   β”œβ”€β”€ main-sidebar.blade.php
												|       |   |   β”œβ”€β”€ modal.blade.php
												|       |   |   β”œβ”€β”€ scripts.blade.php
												|       |   |   β”œβ”€β”€ styles.blade.php
												|       |   |   └── switcher.blade.php
												|       |   β”œβ”€β”€ custom-master1.blade.php
												|       |   β”œβ”€β”€ custom-master2.blade.php
												|       |   β”œβ”€β”€ landing-master.blade.php
												|       |   └── master.blade.php
												|       └── pages/ (150+ blade.php files)
												β”œβ”€β”€ routes/
												|   β”œβ”€β”€ console.php
												|   └── web.php
												β”œβ”€β”€ storage
												β”œβ”€β”€ tests
												β”œβ”€β”€ vendor
												β”œβ”€β”€ .editorconfig
												β”œβ”€β”€ .env
												β”œβ”€β”€ .env.example
												β”œβ”€β”€ .gitattributes
												β”œβ”€β”€ .gitignore
												β”œβ”€β”€ .htaccess
												β”œβ”€β”€ artisan
												β”œβ”€β”€ composer.json
												β”œβ”€β”€ composer.lock
												β”œβ”€β”€ package-lock.json
												β”œβ”€β”€ package.json
												β”œβ”€β”€ phpunit.xml
												β”œβ”€β”€ postcss.config.js
												β”œβ”€β”€ README.md
												β”œβ”€β”€ server.php
												β”œβ”€β”€ tailwind.config.js
												└── vite.config.js
											
										
SWITCHER?

If you want to remove switcher to your template follow the below process.

Theme Styles :
Attribute Description
class="light" To set the light theme
class="dark" To set the Dark theme
dir="ltr" To set LTR version default
dir="rtl" To set LTR version to RTL version
data-nav-layout="vertical" To set menu layout to vertical
data-nav-layout="horizontal" data-nav-style="menu-click" To set menu layout to horizontal
data-nav-style="menu-click" data-toggled="menu-click-closed" To set navigation style to menu click - *Works same for both vertical and horizontal
data-nav-style="menu-hover" data-toggled="menu-hover-closed" To set navigation style to menu hover - *Works same for both vertical and horizontal
data-nav-style="icon-click" data-toggled="icon-click-closed" To set navigation style to icon click - *Works same for both vertical and horizontal
data-nav-style="icon-hover" data-toggled="icon-hover-closed" To set navigation style to icon hover - *Works same for both vertical and horizontal
data-page-style="regular" To set page style to Default
data-page-style="classic" To set page style to Classic
data-page-style="modern" To set page style to modern
data-width="fullwidth" To set page width to Full Width
data-width="boxed" To set page width to Boxed
data-menu-position="fixed" To set menu position Fixed
data-menu-position="scrollable" To set menu position Scrollable
data-header-position="fixed" To set header position Fixed
data-header-position="scrollable" To set header position Scrollable
data-vertical-style="closed" data-toggled="closed-menu-close" To set sidemenu layout style Closed - *Does not work for horizontal
data-vertical-style="icontext" data-toggled="icon-text-close" To set sidemenu layout style Icon Text - *Does not work for horizontal
data-vertical-style="overlay" data-toggled="icon-overlay-close" To set sidemenu layout style Icon Overlay - *Does not work for horizontal
data-vertical-style="detached" data-toggled="detached-close" To set sidemenu layout style Detached - *Does not work for horizontal
data-vertical-style="doublemenu" data-toggled="double-menu-open" To set sidemenu layout style Double Menu - *Does not work for horizontal
Theme Colors :
Attribute Description
data-menu-styles="light" To set the menu style to light
data-menu-styles="dark" To set the menu style to dark
data-menu-styles="color" To set the menu style to color
data-menu-styles="gradient" To set the menu style to gradient
data-menu-styles="transparent" To set the menu style to transparent
data-header-styles="light" To set the header style to light
data-header-styles="dark" To set the header style to dark
data-header-styles="color" To set the header style to color
data-header-styles="gradient" To set the header style to gradient
data-header-styles="transparent" To set the header style to transparent
bg-img="bgimg1" To set menu background image1
bg-img="bgimg2" To set menu background image2
bg-img="bgimg3" To set menu background image3
bg-img="bgimg4" To set menu background image4
bg-img="bgimg5" To set menu background image5
FAQ'S
General Style

How to Change Font Style ?

Step 1:

Go To style.scss (resources/assets/scss/styles.scss )

if you want to change another font-family Go to the site Google Fonts And Select One font Family and import in to styles.scss file

How to Select font Family

Example:

Step 2:

And paste Your Selected font-family in style.scss

Example:
/* inter */
																	@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900");
																		
Step 3:

And add the Your Selected font-family in tailwind config file inplace of old font

Example:

																	fontFamily: {
																		  ['Roboto', 'sans-serif'], //place your font here
																	},
																		
Step 4:

And add the Your Selected font-family to body that is font-inter in custom.scss file (rootpath :- assets/scss/tailwind/_custom.scss) file inplace of old font

Example:

																	body {
																		  @apply bg-bodybg h-full text-gray-600 dark:text-white m-0 font-inter font-normal text-sm relative;
																	}
																		

NOTE:- You must perform npm run dev command after changing or modifying the content in assets folder, otherwise those changes you've made will not be applied to your template.

How to change Menu icons ?

By default menu icons are in the form of svg icons if you want to change icons please follow below steps
Step 1 :

To change Menu icons, open main-sidebar.blade.php page Path:resources/views/layouts/components/main-sidebar.blade.php and go through app-sidebar section, in that section you will find svgtag, there you can replace previous icon with your icon. Example as shown in below

																	
																			
																		

How to Change Logo ?

Go To "resources/assets/images/brand-logos" folder and replace your logo with Previous Logos within in image size. note: Please don't increase logo sizes. Replace your logo within given image size. otherwise the logo will not fit in particular place it disturbs the template design.

To clear LocalStorage(cookie)

How to clear LocalStorage (cookie)?

Primary Color

How to Change Primary Color?

Please follow the below steps to change Primary Color
Step 1 :

To change Primary Color you have to open _variables.scss file and replace what color you want as shown in below

Rootpath : _variables.scss (resources/assets/scss/_variables.scss )

NOTE:- You must perform npm run dev command after changing or modifying the content in assets folder, otherwise those changes you've made will not be applied to your template.

Dark Theme Style

If you want to change Dark Theme color you need to follow the below process.

How to Change Dark body Color?

Please follow the below steps to change Dark body Color
Step 1 :

To change Dark body Color you have to open _variables.scss file and replace what color you want as shown in below

Rootpath : _variables.scss (resources/assets/scss/_variables.scss )

NOTE:- You must perform npm run dev command after changing or modifying the content in assets folder, otherwise those changes you've made will not be applied to your template.

Images

Refer following links for usage:

Images References
Vecteezy https://www.vecteezy.com/
Iconscount https://iconscout.com/
Unsplash https://unsplash.com/
Font Used

Refer following link for usage:

Google Fonts https://fonts.google.com/
Sidemenu Icons

Refer following link for usage:

Material Icons Two Tone https://material.io/resources/icons

Thank you!