-
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the comprehensive documentation for Laravel Arc
A modern Laravel package for managing Data Transfer Objects (DTOs) with automatic validation, trait-based system, and direct property access.
Laravel Arc is a powerful Laravel package that revolutionizes how you work with Data Transfer Objects (DTOs). It provides:
- ποΈ YAML-based DTO definitions - Define your DTOs in clean, readable YAML files
- β Automatic validation - Built-in validation based on your field definitions
- π― Direct property access - Access DTO properties directly without getters/setters
- π§ Modern trait system - Behavioral and functional traits for enhanced functionality
- β‘ CLI generation tools - Powerful command-line tools for DTO management
- π Eloquent integration - Seamless integration with Laravel's Eloquent ORM
Perfect for newcomers to Laravel Arc
- π Getting Started Guide - Installation, configuration, and your first DTO
- π‘ Examples Collection - Complete working examples and templates
- π DTO Usage Guide - How to use DTOs in your Laravel application
Essential guides for mastering Laravel Arc
- π YAML Schema Reference - Complete YAML schema documentation
- π·οΈ Field Types Reference - All supported field types and their usage
- π Traits Guide - Complete guide to ValidatesData, ConvertsData, and DtoUtilities traits
- β Validation Rules - Comprehensive validation documentation
For power users and complex scenarios
- β‘ Advanced Usage Guide - Programmatic generation, custom headers, and advanced patterns
- π Nested DTO Guide - Working with nested DTOs and circular references
- πΎ Relationships Guide - Eloquent relationships in DTOs
- π οΈ CLI Commands - Complete command-line interface reference
Domain-specific documentation
- π’ Enum Custom Rules - Working with enums in DTOs
- π¦ Collection Management - Managing collections of DTOs
- π Export Formats - Data export capabilities
- π Field Transformers - Data transformation options
- ποΈ Modular Export Architecture - Advanced export patterns
For debugging and advanced configuration
- π§ DTO Path Resolver Guide - Path and namespace resolution
- π¨ DTO Generation Exception Guide - Error handling and debugging
Start here if you're new to Laravel Arc
- π Getting Started - Install and create your first DTO
- π‘ Examples Collection - Explore basic examples
- π DTO Usage Guide - Learn to use DTOs in controllers
Ready to dive deeper?
- π·οΈ Field Types Reference - Master all field types
- β Validation Rules - Add robust validation
- πΎ Relationships Guide - Work with Eloquent relationships
- π Traits Guide - Use built-in trait methods
Become a Laravel Arc expert
- β‘ Advanced Usage Guide - Programmatic generation
- π Nested DTO Guide - Complex nested structures
- π οΈ CLI Commands - Master command-line tools
- π¨ DTO Generation Exception Guide - Handle errors gracefully
| π― Need | π Guide | π‘ Description |
|---|---|---|
| Quick Start | Getting Started | Installation and first DTO |
| Examples | Examples Collection | Working examples and templates |
| YAML Syntax | YAML Schema | Complete YAML schema reference |
| Field Types | Field Types | All supported field types |
| Validation | Validation Rules | Validation rules and patterns |
| Relationships | Relationships | Eloquent relationships |
| Traits | Traits Guide | Built-in trait methods |
| Advanced | Advanced Usage | Advanced patterns and techniques |
| CLI Tools | CLI Commands | Command-line interface |
| Troubleshooting | Exception Guide | Error handling |
- API Request/Response handling β DTO Usage Guide
- Form validation and processing β Validation Rules
- Data transformation and export β Field Transformers
- Complex nested data structures β Nested DTO Guide
- Eloquent model integration β Relationships Guide
- Collection management β Collection Management
- Programmatic DTO generation β Advanced Usage
- Custom export formats β Export Formats
- Large-scale DTO architecture β Modular Export Architecture
- οΏ½ Table of Contents: Browse our organized table of contents for structured navigation
- οΏ½π Complete Index: Browse our complete documentation index for quick topic lookup
- π Main Documentation: Complete guides and references available in this wiki
- π‘ Examples: Extensive examples collection with real-world use cases
- π Issues: Report bugs and request features on the main repository
- π¬ Discussions: Join the community discussions for questions and tips
π Start with the Getting Started Guide or explore our π‘ Examples Collection
Transform your Laravel DTOs today with Laravel Arc!
Laravel Arc - Generate Type-Safe DTOs from YAML Definitions
π Home | π Get Started | π Examples | βοΈ Config
From YAML to Type-Safe Code - Made with β€οΈ for the Laravel community
π Home
- π Understanding YAML Structure
- π·οΈ Field Types
- π Field Transformers
- π Behavioral Traits
YAML β DTO β Type-Safe Code
Laravel Arc transforms your YAML definitions into powerful PHP DTOs with automatic validation, field transformers, and behavioral traits.
- π Get Started - Create your first DTO in 5 minutes
- π All Examples - Copy-paste ready examples
- β‘ Commands - CLI reference