Ynex - Codeigniter Tailwind CSS Admin Dashboard Template

Dashboard
Welcome to Ynex - Codeigniter Tailwind CSS Admin Dashboard Template
  • Created Date : 22/December/2023
  • 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 Ynex – Codeigniter Tailwind CSS Admin Dashboard Template

Ynex - Codeigniter 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

Ynex is a Codeigniter Tailwind CSS Admin Dashboard Template using modern and minimal design. It is fully flexible user-friendly and responsive. Ynex Codeigniter Modern template is powered with HTML 5, SASS, & Tailwind CSS which looks great on Desktops, Tablets, and Mobile Devices. This Template Includes 160+ 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 Codeigniter 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 Ynex 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 Different Dashboards Authentication Pages Error Pages
160+ PHP Pages Easy to Customize Tailwind CSS Framework
Form Elements Draggable Cards Ratings
Grid JS Data Tables Gallery
Apex Charts Chartjs Charts Echarts
Full Calendar Sweet Alerts Swiper JS
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 & 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
Dependencies
  • PHP = 8.1.4 or Newer
  • CodeIgniter = 4.3.1
  • *intl* Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
  • JSON PHP Extension
  • Tailwind CSS v3.3.6
  • Preline v1.9.0
  • Sass
  • Esbuild 0.19.4
Installation Process of composer

In order to run CodeIgniter we need to install composer by the followingsteps
Steps to Download & Installation of Composer

Step1: Please visite 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 7.3 V, here we used 8.0.9 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 Codeigniter

Here we are using "Composer" to download "CodeIgniter" packages

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

Step1: Open command prompt, find the path of your XAMPP that is installed in your system.

Step2: Set your path as (Example: C:\xampp\htdocs>) in command prompt.

Step3. Now type the following command line to install the CodeIgniter Packages in your "htdocs" folder composer create-project codeigniter4/appstarter my-project and press Enter.

Step4: Now your downloading is started please wait for sometime to download all the necessary dependencies and packages.

Step5: Once you are redirected to the Token (hidden):_ path then you are sucessfully installed CodeIgniter

Step6: You can also download the CodeIgniter framework using this link https://codeigniter.com/download

// Optional: If you want to asscess your index.php file from your root directory.

Step7: Once the framework is downloaded you need to make a small changes in index.php file that is located in your public folder.

Step8: Take a copy of index.php file and paste it in your root folder that is out of your public folder and open it in your editor and replace the code
$pathsPath = realpath(FCPATH . '../app/Config/Paths.php'); to $pathsPath = realpath(FCPATH . 'app/Config/Paths.php');

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

After installation run following command to get CodeIgniter development server
"php spark serve" or "php -S localhost:8080"

Note :
Please make sure with your "public $baseURL" (Set your "public $baseURL" according to your root path)
In your root directory app/config/app.php open app.php in your editor and set the url Example: public $baseURL = 'http://localhost:8080';

Purpose of a starter kit
Introduction to the Codeigniter Starter Kit:

The Codeigniter starterkit is a resource that helps developers kickstart their Codeigniter 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 Codeigniter Framework-based websites or applications.

Purpose of the Codeigniter Starter Kit:

The purpose of the Codeigniter starter kit is to save developers time and effort by offering a set of prebuilt files and configurations commonly used in Codeigniter 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 Codeigniter 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 Ynex have more than 164 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 Structures
												
															β”œβ”€β”€ app/
															|   β”œβ”€β”€ Config
															|   β”œβ”€β”€ Controllers
															|   β”œβ”€β”€ Database
															|   β”œβ”€β”€ Filters
															|   β”œβ”€β”€ Helpers
															|   β”œβ”€β”€ Language
															|   β”œβ”€β”€ Libraries
															|   β”œβ”€β”€ Models
															|   β”œβ”€β”€ ThirdParty
															|   β”œβ”€β”€ Views/
															|   |   β”œβ”€β”€ errors
															|   |   β”œβ”€β”€ layouts
															|   |   |   β”œβ”€β”€ components
															|   |   |   |   β”œβ”€β”€ footer.php
															|   |   |   |   β”œβ”€β”€ main-header.php
															|   |   |   |   β”œβ”€β”€ main-sidebar.php
															|   |   |   |   β”œβ”€β”€ model.php
															|   |   |   |   β”œβ”€β”€ scripts.php
															|   |   |   |   β”œβ”€β”€ styles.php
															|   |   |   |   └── switcher.php
															|   |   |   └── main.php
															|   |   └── pages
															|   |       └── index.php
															β”œβ”€β”€ public
															β”œβ”€β”€ tests 
															β”œβ”€β”€ vendor 
															β”œβ”€β”€ writable 
															β”œβ”€β”€ .env  
															β”œβ”€β”€ .gitignore  
															β”œβ”€β”€ .htaccess  
															β”œβ”€β”€  builds
															β”œβ”€β”€ composer.json
															β”œβ”€β”€ composer.lock
															β”œβ”€β”€ env
															β”œβ”€β”€ esbuild.config.js
															β”œβ”€β”€ LICENSE
															β”œβ”€β”€ package-lock.json
															β”œβ”€β”€ package.json 
															β”œβ”€β”€ phpunit.xml.dist
															β”œβ”€β”€ postcss.config.js
															β”œβ”€β”€ preload.php
															β”œβ”€β”€ README.md 
															β”œβ”€β”€ spark
															└── tailwind.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:/projectname/app/Views/layouts/- This folder contains files such as main.php files.
  • Example: C:/projectname/app/Views/layouts/components/- This folder contains files such as main-header.php, main-sidebar.php and footer.php, and switcher.php pages.
  • Example: C:/projectname/app/Views/pages/- This folder contains files such as index.php, files and etc..,.
The Basic Structure Of CodeIgniter Project
										
										β”œβ”€β”€ app/
										β”œβ”€β”€ public
										β”œβ”€β”€ tests 
										β”œβ”€β”€ vendor 
										β”œβ”€β”€ writable 
										β”œβ”€β”€ .env  
										β”œβ”€β”€ .gitignore  
										β”œβ”€β”€ .htaccess  
										β”œβ”€β”€  builds
										β”œβ”€β”€ composer.json
										β”œβ”€β”€ composer.lock
										β”œβ”€β”€ env
										β”œβ”€β”€ esbuild.config.js
										β”œβ”€β”€ LICENSE
										β”œβ”€β”€ package-lock.json
										β”œβ”€β”€ package.json 
										β”œβ”€β”€ phpunit.xml.dist
										β”œβ”€β”€ postcss.config.js
										β”œβ”€β”€ preload.php
										β”œβ”€β”€ README.md 
										β”œβ”€β”€ spark
										└── tailwind.config.js
										
									
Ynex comes with power of Esbuild
  • Esbuild:

    Esbuild is a cutting-edge JavaScript task runner that automates common development tasks, such as compiling Sass to CSS, minifying JavaScript and CSS files, optimizing images, and more. Esbuild allows developers to define tasks that process files in a project, and then run those tasks automatically when files are changed or when specific commands are issued.for more information about Esbuild Check here.

Prerequisites

Please follow below steps to install and setup all pre requisites:

  • Nodejs

    Make sure to have the Node.js installed & running in your computer. If you have already installed nodejs on your computer, you can skip this step, otherwise install nodejs on your computer,

    Note : If you are using the latest version of Node JS or want to install and use the latest version, click here

  • Esbuild

    To get started with esbuild, you need to install globally on your system. You can install it using npm by running the following command npm install --save-dev esbuild from your terminal.

Installation

To setup, follow below mentioned steps:

  • Install Prerequisites

    Make sure to have all above pre requisites installed & running in your computer

  • Install Dependencies

    Open your terminal, go to your folder and enter the command npm install. This would install all required dependencies in node_modules folder.

  • Install Dev Dependencies

    npm i esbuild-sass-plugin

    npm i postcss

    npm i autoprefixer

    npm i fs-extra

    npm i path

    npm i postcss

    npm i sass

    npm i sass-loader

    npm i tailwindcss

    npm i @tailwindcss/forms

    npm i tailwind-clip-path

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

Note:- please ensure that you have installed all node_modules requried to run Esbuild tasks .

SCSS & CSS

Here we provided package.json and esbuild.config.js files in your project, you just need to run npm install in your terminal in your project root path.

After compilation of download, you can compile your SCSS files into CSS files by following below procedure.

Command Description
npm run build In Ynex template npm run build command is used for, whatever the changes made in scss files, will watch and compiled into css files.
Compiling Styles

1. In the assets folder you will see css, icon-fonts, images, js, libs, scss, video

Folder Structure

        
															  
																β”œβ”€β”€ assets
																|   β”œβ”€β”€ css  
																|   β”œβ”€β”€ iconfonts 
																|   β”œβ”€β”€ images
																|   β”œβ”€β”€ js
																|   β”œβ”€β”€ libs
																|   β”œβ”€β”€ scss
																|   └── video
															
															
														

2. Now you can compile or customize your styles in scss files that are present in the assets folder.

3. Once the changes made in the files in order to apply those changes to your template you need to run the esbuild commands in the same terminal or command prompt that you have set your project root path.

4. After Compilation, all your .scss files are converted into .css.

How to Run CodeIgniter 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 CodeIgniter by using Composer as mentioned in the installation process above.

Step:2 Run project

1. After installing your CodeIgniter, Open Xampp and click on the start button on the Apache server and MySQL server

2. Extract the zip file of CodeIgniter project that you received.

3. Please set your public $baseURL before going to run your project, go to /app/Config/app.php Example: public $baseURL = 'http://localhost:8080'; and set your project path in command prompt.

4. If your project is placed in Local Server, Example: C:\xampp\htdocs\myprojectfolder

5. If your project is placed in Desktop, Example: cd C:\Users\Admin\Desktop\myprojectfolder

6. Now run the command line: "php spark serve" or "php -S localhost:8080"

7. Your CodeIgniter PHP Development Server as been started (http://localhost:8080)

8. Copy the url and past it in your favorite browser

Installation Instructions For both CPANEL’S and FTP

Installation Instructions

Upload the Project that you have purchased, based on your uploading process on 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
  • PHP : "^8.1.4",
  • Composer : "^2.2.9",
  • CodeIgniter/framework : "^4.4.3",
Folder Structure
											
											β”œβ”€β”€ app/
											|   β”œβ”€β”€ Config
											|   β”œβ”€β”€ Controllers
											|   β”œβ”€β”€ Database
											|   β”œβ”€β”€ Filters
											|   β”œβ”€β”€ Helpers
											|   β”œβ”€β”€ Language
											|   β”œβ”€β”€ Libraries
											|   β”œβ”€β”€ Models
											|   β”œβ”€β”€ ThirdParty
											|   β”œβ”€β”€ Views/
											|   |   β”œβ”€β”€ errors
											|   |   β”œβ”€β”€ layouts
											|   |   |   β”œβ”€β”€ components
											|   |   |   |   β”œβ”€β”€ landingpage/
											|   |   |   |   β”œβ”€β”€ custom-scripts.php
											|   |   |   |   β”œβ”€β”€ custom-styles.php
											|   |   |   |   β”œβ”€β”€ custom-switcher.php
											|   |   |   |   β”œβ”€β”€ footer.php
											|   |   |   |   β”œβ”€β”€ main-header.php
											|   |   |   |   β”œβ”€β”€ main-header1.php
											|   |   |   |   β”œβ”€β”€ main-sidebar.php
											|   |   |   |   β”œβ”€β”€ model.php
											|   |   |   |   β”œβ”€β”€ scripts.php
											|   |   |   |   β”œβ”€β”€ styles.php
											|   |   |   |   └── switcher.php
											|   |   |   β”œβ”€β”€ custom-main.php
											|   |   |   β”œβ”€β”€ custom-main2.php
											|   |   |   β”œβ”€β”€ landing-main.php
											|   |   |   β”œβ”€β”€ landing-main1.php
											|   |   |   └── main.php
											|   |   └── pages
											|   |       └── 160 + .php (files)
											β”œβ”€β”€ public/
											|   β”œβ”€β”€ assets
											|   β”œβ”€β”€ .htaccess
											|   β”œβ”€β”€ favicon
											|   β”œβ”€β”€ index.php
											|   └── robots.txt
											β”œβ”€β”€ tests/
											β”œβ”€β”€ vender/
											β”œβ”€β”€ writable/
											|   β”œβ”€β”€ cache
											|   β”œβ”€β”€ debugbar
											|   β”œβ”€β”€ logs
											|   β”œβ”€β”€ session
											|   β”œβ”€β”€ uploads
											|   └── .htaccess
											β”œβ”€β”€ .env  
											β”œβ”€β”€ .gitignore  
											β”œβ”€β”€ .htaccess  
											β”œβ”€β”€  builds
											β”œβ”€β”€ composer.json
											β”œβ”€β”€ composer.lock
											β”œβ”€β”€ env
											β”œβ”€β”€ esbuild.config.js
											β”œβ”€β”€ LICENSE
											β”œβ”€β”€ package-lock.json
											β”œβ”€β”€ package.json 
											β”œβ”€β”€ phpunit.xml.dist
											β”œβ”€β”€ postcss.config.js
											β”œβ”€β”€ preload.php
											β”œβ”€β”€ README.md 
											β”œβ”€β”€ spark
											└── tailwind.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="mordern" To set page style to mordern
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-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
FAQS
General Style

How to Change Font Style ?

Step 1:

Go To tailwind.config.js (../tailwind.config.js )

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 tailwind.config.js

Example:

Step 3:

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

Example:
fontFamily: {
															inter: ["Inter", "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 :- public/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;
															}
																

How to change Menu icons ?

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

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

																
																		
																	

How to Change Logo ?

Go To "public/assets/img/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)?

Used Plugins & Reference Links

All plugins runs through npm.

If you want new plugins : Install new plugin from npm then run npm run ynex command.

Icons

Refer following links for usage:

Images

Refer following links for usage:

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

Refer following link for usage:

Sidemenu Icons

Refer following link for usage:

THANK YOU!