Welcome to the Anchor Framework documentation. This guide will help you get started and master the framework.
- Anchor provides stability and a solid foundation for your applications
- You ship code with confidence, knowing it's production-ready
- Dock CLI equips you with powerful tools to prepare your application for deployment
Learn more about the philosophy behind the framework.
- Introduction - Overview of the Anchor Framework
- Installation - Setting up your application
- Architecture - High-level architectural overview
- Developer Internals - Deep-core and framework infrastructure
- Directory Structure - Understanding the framework structure
- Configuration - Configuring your application
- Deployment - Deploying your application
- Application Lifecycle - How requests flow through the framework
- IoC Container - Dependency injection and service resolution
- Service Providers - Application bootstrapping and configuration
- Routing - Convention-based and configured routing
- Middleware - HTTP request filtering and inspection
- Controllers - Handling requests and responses
- Requests - Working with HTTP requests
- Validation - Validating form data
- Responses - Returning HTTP responses
- Views - Rendering templates
- ViewModels - Presentation logic pattern
- Database - Database connections and configuration
- Models - Working with models
- Query Builder - Building database queries
- Migrations - Database schema management
- Seeding - Populating your database
- Authentication - User authentication
- CSRF Protection - Cross-site request forgery protection
- Encryption - Encrypting and decrypting data
- Mail - Sending emails
- Queues - Background job processing
- Notifications - Sending notifications
- Scheduling - Task scheduling
- CLI (Dock) - Command-line interface
- Package Management - Installing and Managing Packages
- Helpers - Available helper functions
- Testing - Testing your application
- AI Agent Guide - Guidelines for AI development
- Troubleshooting - Common issues and solutions