How sylius/sylius-standard works
Core Domain Components
Create distinct sections for the core business domains (based on /src/Entity):
• Product Management
• Order Processing
• Customer Management
• Payment System
• Shipping
• Taxation
• Promotion System
• User Management
Integration Points
External service connections:
• Payment Gateways (from /src/Entity/Payment)
• REST API Endpoints
• OAuth Integration
• Currency Exchange Services
Component Relationships
Key interactions:
Frontend Layer
• ↓
API/Controller Layer
• ↓
Service Layer (Business Logic)
• ↓
Entity Layer
• ↓
Database Layer
Technical Details
Annotations for:
• Symfony Framework components
• Doctrine ORM
• API Platform
• Message Queue patterns
• Caching mechanisms (from /config/packages/cache.yaml)
• Security layers (from /config/packages/security.yaml)
Deployment Components
Include:
• Docker container structure (from compose.yml)
• Platform.sh configuration (from .platform.app.yaml)
• Asset building pipeline (webpack)
Cross-Cutting Concerns
Highlight:
• Authentication/Authorization (JWT)
• Logging/Monitoring
• Image handling (Liip Imagine)
• Translations
• Event system
• Core eCommerce functionality (Products, Orders, Customers)
• Supporting services (Payment, Shipping)
• Infrastructure components (Database, Cache, Message Queue)
• External integrations (Payment Gateways, OAuth)