Complete Documentation Suite for Enterprise Resource Planning System Version: 3.0 | Last Updated: March 28, 2026
Welcome to the comprehensive documentation for the accore ERP System. This index provides quick access to all documentation resources for our enterprise-grade ERP solution.
The documentation is organized into a domain-driven hierarchy with six top-level categories:
Core system design patterns and technical philosophy:
- Domain Driven Design in Laravel — Bounded Context design and DDD patterns
- Action and Service Layer — Actions pattern and service encapsulation
- Frontend Backend Separation — API contract and decoupling strategy
- Event Bus and Domain Events — Event-driven architecture
- Transaction Management and Idempotency — Financial transaction safety
- Multi-Tenancy Architecture — Tenant isolation design
- User Experience — Philosophy | Shell | Domains | Visual | Technical
API contracts, security, and integration:
- API Philosophy and Versioning — Versioning strategy and design principles
- Authentication and Authorization Contracts — Auth flow and token management
- Rate Limiting and Security — Throttling and protection
- External System Integrations — Third-party integration patterns
- Webhook Dispatching — Event notification system
Business logic documentation organized by bounded context (11 domains):
| Domain | Overview | Key Topics |
|---|---|---|
| EnterpriseCore | Overview | Auth & Permissions, Identity Access, Automation, Organization Governance, Monitoring |
| Commercial | Overview | CRM, Sales Lifecycle, Revenue & Receivables, Marketing & Distribution |
| Finance | Overview | General Ledger, Tax Compliance, Treasury, Foreign Exchange, Audit |
| SupplyChain | Overview | Inventory, Procurement, Payables & Expenses, Supplier Sourcing |
| HumanCapital | Overview | Workforce Admin, Payroll & Benefits, Talent, Performance, Wellness |
| Manufacturing | Overview | Production Control, Engineering, Quality Control |
| Projects | Overview | Planning, Execution Tracking, Project Finance |
| Assets | Overview | Asset Lifecycle, Investments |
| Intelligence | Overview | Business Intelligence, Advanced Analytics |
| Platform | Overview | Integration Hub, Customization, Communication |
| Shared | — | Cross-domain utilities and shared services |
Each domain subdirectory contains:
- business logic documents (workflows, processes, policies)
- database_Schema.md files (Mermaid ER diagrams + data dictionaries)
Guides for engineers contributing to the project:
- Onboarding Guide — Getting started for new developers
- Creating a New Module — Step-by-step module creation
- Testing Strategy and Factories — PHPUnit patterns and factories
- Writing Financial Migrations — Migration best practices
- Handling Master Data — Seeding and reference data
- Report Template Editor — Overview | Architecture | Integration | AI & Automation
Production deployment and governance:
- Deployment Strategy — Production deployment procedures
- Database Backup and Recovery — Backup policies
- Audit Trails and Security Logging — Compliance logging
- Production Environment Governance — Environment management
- Post Closure Financial Discrepancies — Period closure handling
Core business rules and strategic documentation:
- ERP Philosophy and Vision — System design principles
- Bounded Context Map — Domain relationship map
- Core Business Assumptions — Foundational business rules
- Cross Domain Integration Patterns — Inter-domain communication
- Financial Data Immutability — Ledger integrity rules
- TECHNICAL_DOCUMENTATION.md — Comprehensive technical reference (maintained for backward compatibility)
- USER_GUIDE.md ⭐ — Bilingual user manual (Arabic/English) for non-technical users
- Read README.md — 5 minutes
- Follow installation steps
- Review Developer/Onboarding_Guide.md
- Explore Domains/ to understand data models
- Architecture/Domain_Driven_Design_In_Laravel.md
- Architecture/Action_And_Service_Layer.md
- Domain-specific docs in Domains/
- API/ for API contracts
- Architecture/Frontend_Backend_Separation.md
- Architecture/UserExperience/ for UX system
- API/ for API integration
- System/ERP_Philosophy_And_Vision.md
- System/Bounded_Context_Map.md
- Architecture/ for all design patterns
- Operations/Deployment_Strategy.md
- Operations/Production_Environment_Governance.md
- Operations/Database_Backup_And_Recovery_Policies.md
| Module | User Guide | Domain Docs |
|---|---|---|
| Sales & POS | User Guide | Commercial/SalesLifecycle |
| Purchases | User Guide | SupplyChain/Procurement |
| Inventory | User Guide | SupplyChain/Inventory |
| AR (Customers) | User Guide | Commercial/CRM |
| AP (Suppliers) | User Guide | SupplyChain/PayablesExpenses |
| General Ledger | User Guide | Finance/GeneralLedger |
| Financial Reports | User Guide | Intelligence/BusinessIntelligence |
| HR & Payroll | User Guide | HumanCapital/ |
| Fixed Assets | User Guide | Assets/AssetLifecycle |
| Multi-Currency | User Guide | Finance/ForeignExchange |
| Tax Engine | User Guide | Finance/TaxCompliance |
| Number Ranges | User Guide | EnterpriseCore/SystemOverview |
| Auth & Permissions | User Guide | EnterpriseCore/AuthPermissions |
| Report Editor | User Guide | Developer/ReportTemplateEditor |
- Total Documentation Files: 80+ markdown files across 6 categories
- Bounded Contexts Documented: 11/11 (100%)
- Database Schemas: Auto-generated per domain with Mermaid ER diagrams
- Code Examples: 100+ snippets
Backend:
- Laravel 12, PHP 8.2+
- 11 Bounded Contexts (DDD)
- 81+ database migrations
- 77 domain-organized controllers
- 42 Model directories (distributed across domains)
- Actions Pattern for business logic
Frontend:
- Next.js 16, React 19, TypeScript 5
- 10 domain routing directories + auth + navigation
- 6 component categories (ui, navigation, template-editor, number-range, tax, layout)
- 13 Zustand state stores
- ~128KB design system (globals.css)
All documentation follows these principles:
- Domain-Driven: Organized by bounded context
- Accurate: Auto-generated schemas from live database
- Practical: Includes examples and use cases
- Searchable: Clear headers and structure
- Bilingual: User Guide in Arabic & English
- Versioned: Dated and version-tracked
accore/
│
├── 📄 README.md
│ ├─► Quick Start
│ ├─► ERP Module Overview
│ └─► Installation
│
├── 🤝 CONTRIBUTING.md
│ └─► Contribution Guidelines
│
└── docs/
│
├── 🏛️ Architecture/
│ ├─► Domain Driven Design in Laravel
│ ├─► Action and Service Layer
│ ├─► Frontend Backend Separation
│ ├─► Event Bus and Domain Events
│ ├─► Transaction Management
│ ├─► Multi-Tenancy Architecture
│ └─► UserExperience/ (5 docs)
│
├── 🔌 API/
│ ├─► API Philosophy and Versioning
│ ├─► Auth and Authorization Contracts
│ ├─► Rate Limiting and Security
│ ├─► External System Integrations
│ └─► Webhook Dispatching
│
├── 📦 Domains/ (11 Bounded Contexts)
│ ├─► EnterpriseCore/ (Auth, Identity, Automation, Governance)
│ ├─► Commercial/ (CRM, Sales, Revenue, Marketing)
│ ├─► Finance/ (GL, Tax, Treasury, FX, Audit)
│ ├─► SupplyChain/ (Inventory, Procurement, AP)
│ ├─► HumanCapital/ (9 subdomain areas)
│ ├─► Manufacturing/ (Production, Engineering, QC)
│ ├─► Projects/ (Planning, Execution, Finance)
│ ├─► Assets/ (Lifecycle, Investments)
│ ├─► Intelligence/ (BI, Analytics)
│ ├─► Platform/ (Integration, Customization)
│ └─► Shared/ (Cross-domain utilities)
│
├── 👨💻 Developer/
│ ├─► Onboarding Guide
│ ├─► Creating a New Module
│ ├─► Testing Strategy
│ ├─► Writing Financial Migrations
│ ├─► Handling Master Data
│ └─► ReportTemplateEditor/ (4 docs)
│
├── ⚙️ Operations/
│ ├─► Deployment Strategy
│ ├─► Database Backup and Recovery
│ ├─► Audit Trails and Security
│ ├─► Production Governance
│ └─► Post-Closure Discrepancies
│
├── 🧠 System/
│ ├─► ERP Philosophy and Vision
│ ├─► Bounded Context Map
│ ├─► Core Business Assumptions
│ ├─► Cross-Domain Integration
│ └─► Financial Data Immutability
│
├── 📖 USER_GUIDE.md (العربية/English)
├── 📘 TECHNICAL_DOCUMENTATION.md
└── 📑 DOCUMENTATION_INDEX.md (this file)- Read README.md (5 minutes)
- Complete local setup (10 minutes)
- Review Developer/Onboarding_Guide.md (15 minutes)
- Understand ERP modules in USER_GUIDE.md (30 minutes)
- Browse domain overviews in Domains/ (20 minutes)
- Run the application locally
- Make a test API call
- Review codebase structure
- Read your role-specific documentation section
- Set up development environment
Estimated Time: 2-3 hours total
Last Updated: March 28, 2026 Version: 3.0 Codebase Version: Laravel 12 + Next.js 16
Documentation should be updated when:
- New features are added
- Major refactoring occurs
- API contracts change
- Database schema changes
- ERP workflows change
- Deployment procedures change
Start your journey with README.md →