Introduction
Modern & Responsive CakePHP Bootstrap 5 Admin Template for All Your Web Projects
Vyzor CakePHP is a premium Bootstrap 5 Admin Template that combines modern and minimal design with full flexibility and responsiveness. It’s crafted using HTML5,CSS3, and Bootstrap 5, offering seamless customization with SASS integration. Whether you’re building a web application, admin dashboard, or project management platform, this template ensures your site stands out with ease.
Support and Updates:
When you purchase Vyzor, you gain access to free future updates to ensure your template remains up-to-date. Plus, our support team is always ready to assist with any questions.
Dependencies for Vyzor
- PHP : 8.2.12 or Newer
- Composer : "2.8.5",
- Cakephp/cakephp: 5.1.6
- Cakephp/plugin-installer: ^2.0
- Cakephp/bake: 3.0.0
- Bootstrap v5.3.3
- Sass
- Gulp v5.0.0
- Node : 20.10.0
- NPM : 10.8.1
What Do You Get with the Vyzor:
Vyzor provides all necessary PHP, CSS, SCSS, JS files, along with detailed Documentation to help you easily customize and implement the template.
Vyzor Compatibility with Popular Browsers:
Vyzor is fully compatible with major browsers, ensuring a seamless user experience across Chrome, Firefox, Safari, Edge, and Opera.
Folder Structure
Main php Layout Page Structure
Main php Layout file structure of the Vyzor template .Root:templates/layout/default.php
The default.php file serves as the base file for all PHP pages in the Vyzor template.
html
<!DOCTYPE html>
<html lang="en" dir="ltr" data-nav-layout="vertical" data-theme-mode="light" data-header-styles="transparent" data-width="fullwidth" data-menu-styles="transparent" data-page-style="flat" data-toggled="close" data-vertical-style="doublemenu" data-toggled="double-menu-open">
<head>
<!-- Meta Data -->
<meta charset="UTF-888">
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="Description" content="CakePHP Bootstrap Responsive Admin Web Dashboard Template">
<meta name="Author" content="Spruko Technologies Private Limited">
<meta name="keywords" content="admin bootstrap dashboard, admin panel bootstrap template, admin panel template, bootstrap dashboard, bootstrap template dashboard, cake php framework, cakephp admin, cakephp admin panel, cakephp bootstrap ui, cakephp ui, dashboard admin template, dashboard bootstrap template, dashboard design template, dashboard template bootstrap, user dashboard template.">
<!-- Title -->
<title>Vyzor - CakePHP Bootstrap 5 Premium Admin & Dashboard Template</title>
<!-- Favicon -->
<link rel="icon" href="<?php echo $this->Url->image('brand-logos/favicon.ico'); ?>" type="image/x-icon">
<!-- Start::Styles -->
<?= $this->element('styles'); ?>
<!-- End::Styles -->
</head>
<body>
<div class="progress-top-bar"></div>
<!-- Start::main-switcher -->
<?= $this->element('switcher'); ?>
<!-- End::main-switcher -->
<!-- Loader -->
<div id="loader" >
<img src="<?php echo $this->Url->image('media/loader.svg'); ?>" alt="">
</div>
<!-- Loader -->
<div class="page">
<!-- Start::main-header -->
<?= $this->element('main-header'); ?>
<!-- End::main-header -->
<!-- Start::main-sidebar -->
<?= $this->element('main-sidebar'); ?>
<!-- End::main-sidebar -->
<!-- Start::app-content -->
<div class="main-content app-content">
<div class="container-fluid page-container main-body-container">
<?= $this->fetch('content') ?>
</div>
</div>
<!-- End::app-content -->
<!-- Start::main-modal -->
<?= $this->element('modal'); ?>
<!-- End::main-modal -->
<!-- Start::main-footer -->
<?= $this->element('footer'); ?>
<!-- End::main-footer -->
</div>
<!-- Start::main-scripts -->
<?= $this->element('scripts'); ?>
<!-- End::main-scripts -->
</body>
</html>
PHP Page View Code (for example, the PHP "example.php" file code)
code
<?php $this->start('styles'); ?>
<?php $this->end(); ?>
<?php $this->start('scripts'); ?>
<?php $this->end(); ?>
- First, unzip the project folder that you received from us.
- Navigate as shown Example: C:\xampp\htdocs\vyzor\templates\Pages Open Pages folder will have 175 php pages
- Navigate as shown Example: C:\xampp\htdocs\vyzor\templates\element\ Open element folder there you will find footer.php, main-header.php, main-sidebar.php, modal,php, scripts.php, styles.php, and switcher.php etc files
- Navigate as shown Example: C:\xampp\htdocs\vyzor\templates\layout\ Open layout folder there you will find default.php, error.php, landing-layout.php files
- Here default.php file is the base file for all the php pages.
- Here error.php file is the base file for all custom pages ex: sign-in-basic.php, sign-up-cover.php, error404.php, error500.php, comingsoon.php, create-password-cover.php and create-password-basic.php etc..,
- Here landing-layout.php file is the base file for only landing page ex: landing.php
Installation Process of Composer
In order to run CakePHP 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.2.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)
How to Run CakePHP 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 CakePHP by using Composer as mentioned in the installation process above.
Step:2 Run project
1. After downloading your CakePHP project, open Xampp and click on the start button on the Apache server and MySQL server.
2. Extract the zip folder of the CakePHP project that you received.
3. If your project is placed on a local server, for example, C:\xampp\htdocs\myprojectfolder, then type localhost followed by your project folder name in the browser to access the project.
4. If your project is placed in any other drive or location in your system, set that perticular project root path in the command prompt. Example: C:\Users\Admin\Desktop\myprojectfolder and type the command as shown below.
code
bin/cake server
5. In my case, the CakePHP Development Server is started at http://localhost:8765 port, but it might be different port in your case.
6. Copy the url and past it in your favorite browser and hit enter to access your project
Purpose of a Starter Kit
Introduction to the CakePHP Starter Kit:
The CakePHP starterkit is a resource that helps developers kickstart their CakePHP 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 CakePHP Framework-based websites or applications.
Purpose of the CakePHP Starter Kit:
The purpose of the CakePHP starter kit is to save developers time and effort by offering a set of prebuilt files and configurations commonly used in CakePHP 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 CakePHP 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 Vyzor have more than 175 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/
- 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/templates/layout/- This folder contains files such as ajax.php, default.php and error.php files.
- Example: C:/projectname/templates/element/- This folder contains files such as main-header.php, main-sidebar.php and footer.php, and switcher.php pages.
- Example: C:/projectname/templates/Pages/- This folder contains files such as home.php, files and etc..,.
Vyzor comes with power of Gulp
Gulp is a popular JavaScript task runner that automates common development tasks, such as compiling Sass to CSS, minifying JavaScript and CSS files, optimizing images, and more. Gulp 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 gulp Check here.
Prerequisites:
To install and set up all the prerequisites, follow these steps:
Ensure that Node.js is installed and running on your computer. If Node.js is already installed, you can skip this step. Otherwise, install it on your computer.
If you want to install and use the latest version of Node.js, you can find the necessary instructions on the official website.
To set up gulp, you need to install it globally on your system. Run one of the following commands in your terminal:
code
npm install -g gulp
code
npm install --save-dev gulpInstallation
Please follow below steps to install and setup all pre requisites:
Make sure to have all above pre requisites installed & running in your computer
Open your terminal, go to your folder and enter below command. This would install all required dependencies in node_modules folder.
code
npm installBuild Production File
After completing the above steps, run the following command from the project root (Vyzor/) in your terminal or command prompt:
code
gulpNote:-Ensure all required node_modules are installed to run the gulp tasks successfully.
The following command performs several tasks to streamline your development workflow below are some of the task it performs :
- Generates the
libs/ and CSS/ foldersdirectory
FAQ'S
Step 1:
Go To style.scss (webroot/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

Step 2:
And paste Your Selected font-family in style.scss

Step 3:
And add the Your Selected font-family in _variables.scss(webroot/scss/_variables.scss)
code
--default-font-family: "Space Grotesk", sans-serif;Note : After changing the styles, you must run the gulp command "gulp" . For more gulp commands, see the gulp page click here.
By default menu icons are phosphoricons if you want to change To change Menu icons, open main-sidebar.php page Path:templates/element/main-sidebar.php and go through app-sidebar section, in that section you will find phosphoricons of menu in svg tag, there you can replace previous icon with your icon. Example as shown in below
html
html
Go To "webroot/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.
Note : After changing the styles, you must run the gulp command "gulp" . For more gulp commands, see the gulp page click here.
Step1:
To clear LocalStorage loading functions you need to remove
localStorageBackup2() function in custom-switcher.min.js webroot/js/custom-switcher.min.js as shown
below
javascript
function localStorageBackup2() {}Step2:
To remove complete LocalStorage saving you need to remove
all localstorage related calling functions like localStorage.setItem,
localStorage.removeItem, localStorage.getItem,
localStorage.clear in
custom-switcher.min.js
webroot/js/custom-switcher.min.js file.Below are the some examples to find out.
javascript
localStorage.setItem( );
localStorage.removeItem( );
localStorage.getItem( )
localStorage.clear();
localStorageBackup();Step3:
To remove complete LocalStorage saving you also need to remove
main.js link present in styles.php Path:templates/element/styles.php as shown below
html
<!-- Main Theme Js -->
<?= $this->Html->script(['main']) ?>
Step1:
To remove switcher path remove below code shown in default.php templates/layout/default.php file
html
<!-- Start::main-switcher -->
<?= $this->element('switcher'); ?>
<!-- End::main-switcher -->Step2:
After removing switcher path in default.php page then change main-header to main-header1 for switcher icon code shown below in default.php page
html
Before :
<!-- Start::main-header -->
<?= $this->element('main-header'); ?>
<!-- End::main-header -->
After :
<!-- Start::main-header -->
<?= $this->element('main-header1'); ?>
<!-- End::main-header -->Step3:
Go to root path: templates/element/scripts.php open "scripts.php" file and then remove the"custom-switcher.min.js" link as shown below.
html
Remove Switcher Script :
<!-- Custom-Switcher JS -->
<?= $this->Html->script(['custom-switcher.min']) ?>Step1:
To remove switcher path remove below code shown in landing-layout.php templates/layout/landing-layout.php file
code
<!-- Start::main-switcher -->
<?= $this->element('landingpage/switcher'); ?>
<!-- End::main-switcher -->Step2:
After removing switcher path in landing-layout.php page then change main-header to main-header1 for switcher icon code shown below in landing-layout.php page
code
Before :
<!-- Start::main-header -->
<?= $this->element('landingpage/main-header'); ?>
<!-- End::main-header -->
After :
<!-- Start::main-header -->
<?= $this->element('landingpage/main-header1'); ?>
<!-- End::main-header -->Step3:
Now then change main-sidebar to main-sidebar1 for switcher icon code shown below in landing-layout.php page
code
Before :
<!-- Start::main-sidebar -->
<?= $this->element('landingpage/main-sidebar'); ?>
<!-- End::main-sidebar -->
After :
<!-- Start::main-sidebar -->
<?= $this->element('landingpage/main-sidebar1'); ?>
<!-- End::main-sidebar -->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 (webroot/scss/_variables.scss )
Note : After changing the styles, you must run the gulp command "gulp" . For more gulp commands, see the gulp page click here.
Please follow the below steps to change Dark body Color
Step 1 :
Make sure the theme is set completely to dark mode by adding the following attributes to the html tag data-theme-mode="dark" data-header-styles="dark" data-menu-styles="dark"
Step 2 :
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 (webroot/scss/_variables.scss )
Step 3 :
Also Change the following variable colors to the desired theme background accordingly in [data-theme-mode="dark"]
--light-rgb : --form-control-bg : --input-border : --gray-3 :Note : After changing the styles, you must run the gulp command "gulp" . For more gulp commands, see the gulp page click here.
Credit's
Icons Credit
| Icons | References |
|---|---|
| Bootstrap Icons | https://icons.getbootstrap.com/ |
| Boxicons | https://boxicons.com/ |
| Remix Icons | https://remixicon.com/ |
| Feather Icons | https://feathericons.com/ |
| Tabler Icons | https://tabler-icons.io/ |
| Line Awesome Icons | https://icons8.com/line-awesome |
| Phosphor Icons | https://phosphoricons.com/ |
Images Credit
| Images | References |
|---|---|
| Vecteezy | https://www.vecteezy.com/ |
| Iconscount | https://iconscout.com/ |
| Unsplash | https://unsplash.com/ |
| Png Tree | https://pngtree.com/ |
| flaticon | https://www.flaticon.com/authors/flat-icons |
| freepik | https://www.freepik.com |
Fonts Credit
| Font | References |
|---|---|
| Google Fonts | https://fonts.google.com/ |
Sidemenu Icons
| Icon | References |
|---|---|
| phosphor Icons | https://phosphoricons.com/ |
Switcher styles
(Root:templates/layout/default.php)
html
<html lang="en" dir="ltr" data-nav-layout="vertical" data-theme-mode="light" data-header-styles="transparent" data-width="fullwidth" data-menu-styles="transparent" data-page-style="flat" data-toggled="close" data-vertical-style="doublemenu" data-toggled="double-menu-open">html
data-theme-mode="light" data-header-styles="light" data-menu-styles="light"
html
data-theme-mode="dark" data-header-styles="dark" data-menu-styles="dark"
html
dir="ltr"
html
dir="rtl"
html
data-nav-layout="vertical"
html
data-nav-layout="horizontal" data-nav-style="menu-click"
html
data-page-style="regular"
html
data-page-style="classic"
html
data-page-style="modern"
html
data-page-style="flat"
html
data-width="default"
html
data-width="fullwidth"
html
data-width="boxed"
html
data-header-position="fixed"
html
data-header-position="scrollable"
html
data-vertical-style="closed"
html
data-vertical-style="icontext"
html
data-vertical-style="overlay"
html
data-vertical-style="detached"
html
data-vertical-style="doublemenu"
html
loader="enable"
html
loader="disable"
html
data-menu-styles="light"
html
data-menu-styles="dark"
html
data-menu-styles="color"
html
data-menu-styles="gradient"
html
data-menu-styles="transparent"
html
data-header-styles="light"
html
data-header-styles="dark"
html
data-header-styles="color"
html
data-header-styles="gradient"
html
data-header-styles="transparent"
html
data-bg-img="bgimg1"
html
data-bg-img="bgimg2"
html
data-bg-img="bgimg3"
html
data-bg-img="bgimg4"
html
data-bg-img="bgimg5"