Welcome to the official Diffyne documentation. Diffyne is a blazing-fast, server-driven UI framework for PHP powered by a lightweight Virtual DOM + Diff Engine.
- Installation - Install and configure Diffyne
- Quick Start - Build your first component in 5 minutes
- Your First Component - Detailed walkthrough of creating components
- Directives Overview - All available Diffyne directives
- Attributes - Component attributes (Locked, QueryString, On, Invokable, Computed, Lazy)
- Click Events - Handle user interactions
- Data Binding - Two-way data synchronization
- Query String Binding - Sync properties with URL parameters
- Form Handling - Working with forms and submissions
- File Uploads - Upload and manage files with temporary storage
- Validation - Laravel validation integration
- Loading States - Show loading indicators
- Polling - Real-time data updates
- Error Handling - Display and manage errors
- Component Events - Event system for component communication
- Redirects - Navigation and redirects
- Counter Component - Simple counter example
- Todo List - Interactive todo list
- Contact Form - Form with validation
- Search Component - Live search with debouncing
- Confirmation Modal - Reusable confirmation modal
- Page Change Logger - Event logging component
- Virtual DOM Engine - How the diff engine works
- Lifecycle Hooks - Component lifecycle methods
- Component State - State management and hydration
- Security - Security features (state signing, locked properties)
- WebSocket Transport - Real-time WebSocket communication
- Performance - Optimization tips and benchmarks
- Testing - Testing Diffyne components
- Check the examples for common use cases
- Review the features documentation for specific functionality
- Open an issue on GitHub for bugs or feature requests
Contributions are welcome! Please read our contributing guide before submitting pull requests.