An enterprise-grade, high-performance Laravel 12 Admin & Software Showcase Platform built with a dynamic 5-Theme Engine, Laravel Reverb WebSockets for zero-latency push notifications, a Polymorphic Media System, Spatie Activity Audit Logs, and a responsive Blade component framework.
graph TD
Client[Browser / Admin UI] -->|HTTP / REST| Laravel[Laravel 12 App Engine]
Client <-->|WebSocket 0ms Push| Reverb[Laravel Reverb Server]
Laravel --> Controllers[Admin & API Controllers]
Controllers --> Services[Domain Services & Helpers]
Services --> DB[(MySQL / SQLite Database)]
Services --> Storage[Public Storage / Polymorphic Media]
DB --> Media[Media Table - Polymorphic]
DB --> Products[Products & Software Showcase]
DB --> Logs[Spatie Activity Logs]
DB --> Users[Users, Roles & Permissions]
Laravel -->|Event Broadcast| Reverb
| Requirement / Component | Technology | Version |
|---|---|---|
| PHP Runtime | PHP | ^8.3 |
| Backend Framework | Laravel Framework | ^12.0 (v12.x) |
| WebSocket Engine | Laravel Reverb | ^1.11 |
| API Authentication | Laravel Sanctum | ^4.0 |
| Frontend Styling | Vanilla CSS + Tailwind CSS | v4.0 |
| Interactivity | Alpine.js | ^3.x |
| Asset Bundler | Vite | ^6.x / ^8.x |
| RBAC Authorization | Spatie Laravel Permission | ^7.4 |
| Audit Logging | Spatie Activity Log | ^5.0 |
| Broadcasting Client | Laravel Echo + Pusher JS | ^2.0 / ^8.4 |
- Integrated Laravel Reverb WebSocket server (
php artisan reverb:start). - 0ms Instant Push Notifications:
NotificationSentbroadcast event pushes notifications directly towindow.Echoon private user channels (App.Models.User.{id}). - Interactive UI: Includes mark-as-read, single notification delete, and bulk clear-all modal confirmation dialogs.
- Configured via
.envfile for developer control:DEFAULT_THEME=emerald_slate(emerald_slate,royal_indigo,rose_midnight,amber_dark,cyan_teal)APP_DIRECTION=ltr(ltr,rtl)
- High-contrast card designs, vibrant badge accents, and glassmorphism styling across all viewports.
- Centralized
mediadatabase table paired withApp\Traits\HasMedia. - Models bind uploads seamlessly using collection names (
thumbnail,gallery,avatar,document). - Automatic fallback accessors (
thumbnail_url,gallery_urls) for 100% backward compatibility.
- Comprehensive software management supporting Web Apps, Android Apps, iOS Apps, and Custom Templates.
- Step-by-step wizard for General Info, Live Preview Demos & Credentials, Media Uploads, Tech Stack Tags, and Module Add-on Estimator.
- Audit log tracking via
spatie/laravel-activityloglisting administrative actions, user changes, and timestamps. - Granular Role-Based Access Control via
spatie/laravel-permission.
Add or verify the following variables in your .env file:
APP_NAME="Master Admin Panel"
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost:8000
# Theme & Direction Controls
DEFAULT_THEME=emerald_slate
APP_DIRECTION=ltr
# Database Configuration
DB_CONNECTION=sqlite
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_DATABASE=microservice
# DB_USERNAME=root
# DB_PASSWORD=
# Broadcasting & Reverb WebSockets
BROADCAST_CONNECTION=reverb
REVERB_APP_ID=891023
REVERB_APP_KEY=reverb_key
REVERB_APP_SECRET=reverb_secret
REVERB_HOST=127.0.0.1
REVERB_PORT=8080
REVERB_SCHEME=http
VITE_REVERB_APP_KEY="${REVERB_APP_KEY}"
VITE_REVERB_HOST="${REVERB_HOST}"
VITE_REVERB_PORT="${REVERB_PORT}"
VITE_REVERB_SCHEME="${REVERB_SCHEME}"# Install PHP Composer Packages
composer install
# Install Frontend NPM Packages
npm installcp .env.example .env
php artisan key:generate# Run Database Migrations
php artisan migrate
# Link Public Storage Directory for Polymorphic Media
php artisan storage:linkIn separate terminal instances, run the development servers:
# Terminal 1: Laravel Web Application Server
php artisan serve
# Terminal 2: Frontend Asset Watcher (Vite & Tailwind CSS v4)
npm run dev
# Terminal 3: Laravel Reverb WebSocket Server (Real-time Push Notifications)
php artisan reverb:startbackend/
βββ app/
β βββ Events/
β β βββ NotificationSent.php # Reverb WebSocket Broadcast Event
β βββ Http/
β β βββ Controllers/
β β βββ Admin/ # Admin Dashboard Controllers
β β β βββ AccountSettingsController.php
β β β βββ ActivityLogController.php
β β β βββ NotificationController.php
β β β βββ ProductController.php
β β β βββ ProfileController.php
β β β βββ RoleController.php
β β β βββ UserController.php
β β βββ Api/ # API Endpoints
β βββ Models/
β β βββ Media.php
β β βββ Notification.php
β β βββ Product.php
β β βββ User.php
β βββ Modules/
β β βββ Media/ # Polymorphic Media Module
β βββ Traits/
β βββ HasMedia.php # Polymorphic Media Trait
β βββ ApiResponse.php # Standard JSON Response Formatter
βββ database/
β βββ migrations/ # Database Migrations
βββ resources/
β βββ css/
β β βββ app.css # 5-Theme Engine & Tailwind CSS v4 Rules
β βββ js/
β β βββ app.js
β β βββ echo.js # Laravel Echo & Pusher JS Setup
β βββ views/
β βββ admin/ # Admin Views (Profile, Settings, Products)
β βββ components/ # Reusable Blade UI, Form & Mail Components
β βββ layouts/ # App Layout Shells (Admin, Guest, Email, Error)
βββ routes/
βββ api.php
βββ web.php # Admin Web Routes & Middleware
# Clear Route Cache
php artisan route:clear
# Clear Compiled View Cache
php artisan view:clear
# Clear General Cache
php artisan cache:clearThis application is open-sourced software licensed under the MIT license.