Skip to content
Jean-Marc Strauven edited this page Jul 27, 2025 · 4 revisions

🏠 Laravel Arc Wiki

πŸš€ Powerful Laravel DTOs with Automatic Validation

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.


🌟 What is Laravel Arc?

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

πŸš€ Quick Navigation

🎯 Getting Started

Perfect for newcomers to Laravel Arc

πŸ“š Core Documentation

Essential guides for mastering Laravel Arc

πŸ”§ Advanced Features

For power users and complex scenarios

🎨 Specialized Guides

Domain-specific documentation

πŸ› οΈ Technical References

For debugging and advanced configuration


πŸŽ“ Learning Paths

πŸ‘Ά Beginner Path

Start here if you're new to Laravel Arc

  1. πŸ“– Getting Started - Install and create your first DTO
  2. πŸ’‘ Examples Collection - Explore basic examples
  3. πŸŽ“ DTO Usage Guide - Learn to use DTOs in controllers

πŸ‘¨β€πŸ’» Intermediate Path

Ready to dive deeper?

  1. 🏷️ Field Types Reference - Master all field types
  2. βœ… Validation Rules - Add robust validation
  3. πŸ’Ύ Relationships Guide - Work with Eloquent relationships
  4. 🎭 Traits Guide - Use built-in trait methods

πŸš€ Advanced Path

Become a Laravel Arc expert

  1. ⚑ Advanced Usage Guide - Programmatic generation
  2. πŸ”— Nested DTO Guide - Complex nested structures
  3. πŸ› οΈ CLI Commands - Master command-line tools
  4. 🚨 DTO Generation Exception Guide - Handle errors gracefully

πŸ” Quick Reference

🎯 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

πŸ’‘ Popular Use Cases

πŸ”₯ Most Common

🎯 Business Logic

⚑ Advanced Integration


🀝 Community & Support

  • οΏ½ 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

πŸš€ Ready to get started?

πŸ“– Start with the Getting Started Guide or explore our πŸ’‘ Examples Collection

Transform your Laravel DTOs today with Laravel Arc!

πŸš€ Laravel Arc Wiki

🏠 Home

πŸš€ Getting Started

πŸ“š Core Concepts

πŸ—οΈ Advanced Features

βš™οΈ Configuration & CLI

🌐 Real-World Examples


🎯 Key Concepts

YAML β†’ DTO β†’ Type-Safe Code

Laravel Arc transforms your YAML definitions into powerful PHP DTOs with automatic validation, field transformers, and behavioral traits.

πŸ”— Quick Links

Clone this wiki locally