How mehedijaman/modular works
Main Components
a) Core Framework Layer:
• Laravel Backend (Base)
• Vue.js Frontend
• Inertia.js Bridge
• Tailwind CSS Styling
b) Modular Architecture:
• Module System
• Service Providers
• Core Modules:
• ACL (Access Control)
• AdminAuth
• Dashboard
• Support
• User
c) Component Architecture:
• Custom Vue Components
• Form Components
• DataTable Components
• UI Components
• Overlay Components
┌─ Client Layer ─────────────────────────────┐
• Vue.js Components │
• Auth Components │
• DataTable Components │
• Form Components │
• Menu Components │
• Overlay Components │
• Bridge Layer ─────────────────────────────┤
• Inertia.js │
• Backend Layer ────────────────────────────┤
• Laravel Framework │
• Module System │
• ACL Module │
• AdminAuth Module │
• Dashboard Module │
• Support Module │
• User Module │
• Core Services │
• ┘
Key Relationships to Highlight
• Bidirectional communication between Vue components and Laravel backend through Inertia.js
• Module dependencies and interactions
• ACL system's integration with other modules
• How the Support module provides base functionality to other modules
Important Elements
• Command system for module generation
• Translation system
• Testing framework integration
• Frontend build pipeline
• Module generation system
• Service provider registration flow