Dreams ERP Agent Banner

Introduction

Dreams ERP is a modern, responsive enterprise administration dashboard template designed with Tailwind CSS. It provides prebuilt components and templates to manage employees, CRM, finance, inventory, projects, and more in a unified dashboard.

Requirements

System Overview

The Dreams ERP template requires a modern Laravel development environment with PHP 8.3+ support, essential extensions, and development tools for optimal performance and development experience.

Core Technologies
Backend Framework

Laravel 13.19.0

Frontend Framework

Tailwind 4

Programming Language

PHP 8.4

System Requirements
Composer

For PHP package dependency management

PHP Extensions

bcmath, ctype, fileinfo, json, mbstring, openssl, pdo, tokenizer, xml

Node.js

For Vite build process & SCSS compilation

Text Editor

VS Code, Sublime Text, or any code editor

Development Tools
Local Server

XAMPP/WAMP/MAMP

Version Control

Git

Web Browser

Any modern browser

Important Note

Ensure all PHP extensions are enabled in your server configuration. For production deployment, consider using a managed hosting service that supports Laravel 13.x and PHP 8.3+.

Features

Dreams ERP offers 3 powerful dashboard variations and 10+ fully functional, prebuilt application modules with a clean, modular structure.

Prebuilt Applications
  • Employee Directory & Attendance
  • CRM Pipeline, Deals & Contacts
  • Finance, Expenses & Invoices
  • Inventory & Stock Management
  • Calendar, Kanban Board & Tasks
  • Built-in Chat & File Manager
Layout & Mode Features
  • 3 Prebuilt Dashboard Variations
  • Multiple Sidebar Layout Options
  • Full responsive design (Mobile, Tablet, Desktop)
  • Built-in Light / Dark Mode Toggle
  • Full RTL Layout Direction Support
  • Layout Direction Variations

File Structure

Project Overview

The Laravel project follows standard Laravel directory structure with the main application located in dreams-erp/laravel/. The application includes all standard Laravel directories for a complete application structure.

dreams-erp/
└── laravel/
    ├── app/
    │   ├── Http/
    │   │   ├── Controllers/
    │   │   └── Middleware/
    │   ├── Models/
    │   └── Providers/
    │
    ├── bootstrap/
    │   └── cache/
    │
    ├── config/
    │   ├── app.php
    │   ├── auth.php
    │   └── database.php
    │
    ├── database/
    │   ├── factories/
    │   ├── migrations/
    │   └── seeders/
    │
    ├── public/
    │   ├── index.php
    │   └── build/
    │       ├── css/
    │       ├── img/
    │       ├── js/
    │       └── libs/
    │
    ├── resources/
    │   ├── css/
    │   ├── js/
    │   ├── img/
    │   └── views/
    │       ├── layouts/
    │       ├── partials/
    │       └── pages/
    │
    ├── routes/
    │   ├── web.php
    │   └── api.php
    │
    ├── storage/
    │   ├── app/
    │   ├── framework/
    │   └── logs/
    │
    ├── tests/
    │   └── Feature/
    │
    ├── artisan
    ├── composer.json
    ├── package.json
    └── vite.config.js


Laravel Structure

Laravel Blade Template Structure

Dreams ERP uses Laravel's Blade templating engine with a master layout file and individual page templates for consistent design and functionality. Below are the actual files from the project.

Main Layout File

This is the actual master layout file from the project that provides the common HTML structure, navigation, and scripts for all pages:

<!DOCTYPE html>
<html lang="en">

<head>
    @include('partials.head-css')
    @include('partials.title-meta')
</head>

<body>
    @include('partials.main-wrapper')
        
        @include('partials.topbar')

        @yield('content')

        @include('partials.footer')

    </div>
    <!-- /Main Wrapper -->

    @component('components.modal-popup')
    @endcomponent

@include('partials.vendor-scripts')

</body>
</html>
Sample Page Template

This is the actual starter page template from the project that extends the main layout:

@extends('layout.mainlayout')
@section('content')

    <!-- ========================
        Start Page Content
    ========================= -->

    <div class="page-wrapper">

        <!-- Start Content -->
        <div class="content">

            <!-- Page Header -->
            <div class="d-flex align-items-center justify-content-between gap-2 mb-4 flex-wrap">
                <div>
                    <h4 class="mb-0">Blank Page</h4>
                </div>
                <div class="gap-2 d-flex align-items-center flex-wrap">
                    <a href="javascript:void(0);" class="btn btn-icon btn-outline-light shadow" data-bs-toggle="tooltip" data-bs-placement="top" aria-label="Refresh" data-bs-original-title="Refresh"><i class="ti ti-refresh"></i></a>
                    <a href="javascript:void(0);" class="btn btn-icon btn-outline-light shadow" data-bs-toggle="tooltip" data-bs-placement="top" aria-label="Collapse" data-bs-original-title="Collapse" id="collapse-header"><i class="ti ti-transition-top"></i></a>
                </div>
            </div>
            <!-- End Page Header -->

        </div>
        <!-- End Content -->

    </div>

    <!-- ========================
        End Page Content
    ========================= -->

@endsection
Key Blade Template Features
Template Inheritance

@extends directive for master layout structure

Content Sections

@section and @yield for dynamic content injection

Partial Includes

@include directive for reusable partials (topbar, sidebar, footer)

Route Conditions

@if Route::is() for conditional layout rendering

Component System

@component directive for modal popup components

PHP Variables

PHP variables for page identification and routing

Installation

Laravel Framework Setup

Follow these steps to set up Dreams ERP Laravel application on your local development environment. This guide covers Laravel-specific installation, environment configuration, and project setup.

Prerequisites
Composer
MySQL/SQLite
Web Server (Apache/Nginx)
Tip: Use XAMPP, WAMP, or MAMP for local development
Installation Steps
1
Project Setup

Extract the Dreams ERP Laravel project to your web server directory:

XAMPP: htdocs/dreams-erp/laravel/
WAMP: www/dreams-erp/laravel/
2
Install PHP Dependencies

Open terminal/command prompt in the Laravel project directory and run:

composer install
Note: Ensure Composer is installed on your system
3
Install Node.js Dependencies

Install frontend dependencies for SCSS compilation:

npm install
Note: Ensure Node.js and npm are installed on your system
4
Environment Configuration

Configure your Laravel environment:

cp .env.example .env
php artisan key:generate
Configure: Update database settings in .env file
5
Database Setup

Set up your database and run migrations:

php artisan migrate
6
Build Frontend Assets

Compile SCSS and build frontend assets:

npm run build
7
Access Application

Start your web server and access the Laravel application:

php artisan serve
Example URLs:
Artisan Server: http://127.0.0.1:8000
Live Server: yourdomain.com/laravel/public

Fonts

The default typography font for the template is Geist. If you want to change it to another Google font (like Inter or Roboto):

Open the style file resources/css/style.css and update the @import statement at the top of the file as well as the primary font variable in the @theme configuration block:

/* 1. Import the new Google Font at the very top of style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* 2. Update the variable inside the @theme block */
@theme {
    --font-family-primary: "Inter", sans-serif;
}

Color System

All theme colors are defined as design tokens under the @theme directive in your resources/css/style.css file. These variables control the look and feel of components:

@theme {
    --color-primary: #0F766E;   /* primary color */
    --color-secondary: #2563EB; /* secondary color */
    --color-success: #059669;   /* success states */
    --color-warning: #D97706;   /*  warnings */
    --color-danger: #B91C1C;    /*  error states */
}
Changing Element Colors

You can customize the color of any element by editing its class or variable assignment in the CSS file. For example, changing the header topbar background color:

.navbar-header { 
    @apply bg-(--topbar-bg);
}

Dark Mode

How it Works

Theme switching works by adding or toggling the data-theme="dark" attribute on the root <html> element. The template automatically stores the user's theme selection in their session storage.

1. Attribute Control

To enable dark mode, set the attribute on the root tag:

<html lang="en" data-theme="dark">
2. Tailwind CSS v4 Integration

In style.css, dark mode uses a custom variant that links the Tailwind dark: modifiers directly to the HTML attribute:

@custom-variant dark (&:where([data-theme="dark"], [data-theme="dark"] *));

You can write responsive layouts by simply adding prefix variants to any tag like dark:bg-dark-900 or dark:text-white.

3. Persisted Theme Javascript

The file resources/js/theme-script.js runs at page start to prevent screen flashing. It checks the user's session configuration:

// Loads stored choice on page load
const savedConfig = JSON.parse(sessionStorage.getItem("__THEME_CONFIG__")) || {};
const theme = savedConfig.theme || "light";
document.documentElement.setAttribute("data-theme", theme);

RTL Support

Dreams ERP supports full Right-to-Left (RTL) reading directions. To change the layout from Left-to-Right (LTR) to RTL:

1. Update the HTML Tag

Simply add the dir="rtl" attribute and appropriate language code to your root tag:

<html lang="ar" dir="rtl">
2. Tailwind RTL Processing

Tailwind CSS automatically transforms positioning utilities (like margins, padding, and flex alignments) using standard logical properties when the dir="rtl" attribute is active.

RTL Page Reference

A preconfigured RTL demo is available. You can view layout-rtl.blade.php in your browser or source files to see a live demonstration.

Icons

Dreams ERP includes multiple popular icon packages ready for use. You can use any of the following icon libraries:

1. Lucide Icons

Use Lucide icons with the icon-[name] class prefix:

<i class="icon-house"></i>
<i class="icon-users"></i>
<i class="icon-settings"></i>
2. Phosphor Icons

Use Phosphor icons with the ph-[style] ph-[name] prefix classes (e.g. bold, duotone, regular):

<i class="ph-duotone ph-plus-circle"></i>
<i class="ph-bold ph-calendar"></i>
3. Font Awesome Icons

Use Font Awesome icons with standard classes:

<i class="fa-solid fa-hashtag"></i>
<i class="fa-brands fa-html5"></i>
4. Tabler Icons

Use Tabler icons with the ti ti-[name] class prefix:

<i class="ti ti-menu-2"></i>

Layout Options

Dreams ERP offers multiple layout variations to suit your needs: Default Layout (standard vertical), Mini Sidebar (icon-only), Hidden Sidebar, Hoverview, and Full-width. All variants support light and dark modes.

Default Layout

The default vertical layout with a left sidebar, topbar, and center content area.

  • Sidebar: Navigation menu, logo, profile details, and collapsible dropdowns.
  • Topbar: Search input, user alerts, settings, and profile toggle actions.
  • Responsive: Collapses into an overlay sidebar on tablets and mobile screens automatically.

Mini Sidebar

A screen-saving option that collapses the sidebar to show icons only. Add class mini-sidebar to the <body> to activate.

  • Icon View: Collapses to 56px to maximize the main work area.
  • Hover Expand: Hovering expands the sidebar to reveal module text labels.
  • Toggle: Switch between default and mini sidebar using the toggle button in the topbar.

Component Reference

License

Dreams ERP is developed by Dreams Technologies and is available under both Envato Extended & Regular License options.

Regular License

Usage by either yourself or a single client is permitted for a single end product, provided that end users are not subject to any charges.

Extended License

For use by you or one client in a single end product for which end users may be charged.

What are the main differences between the Regular License and the Extended License?

Note

If you operate as a freelancer or agency, you have the option to acquire the Extended License, which permits you to utilize the item across multiple projects on behalf of your clients.

Credits & Resources

Dreams ERP is built upon several open-source libraries, frameworks, and typography assets. We appreciate the contribution of the following resources:

Asset Name Official Website URL
Tailwind CSS https://tailwindcss.com/
Vite JS https://vite.dev/
Lucide Icons https://lucide.dev/
Tabler Icons https://tabler.io/icons
Font Awesome https://fontawesome.com/
Phosphor Icons https://phosphoricons.com/

Support

If you have any questions or run into issues with the template, feel free to contact us via email at support@dreamstechnologies.com.

Response Time: Typically 12–24 hours on weekdays (GMT+5:30). Support covers template bugs, errors, and standard features. It does not cover custom installations or custom coding changes.

Contact Support

Custom Work

Do you need custom development for your application?

If you need customization, new page integration, feature setups, or database connections, our engineering team can help tailor this template to your precise specifications.

  • Tailoring features to your exact branding and workflow.
  • Deploying the template to your production servers.
  • Integrating backend endpoints and databases.
thanks

Thank You

Thank you for choosing **Dreams ERP**! We hope this template facilitates building your application. We kindly ask you to share your feedback by leaving a rating on ThemeForest.

Leave a Review