Abstract Classes
Extend the base classes for application and database configuration, models, AI agents, task queues, schedulers, email templates, session handlers, and PHP stream wrappers.
Table of Contents
- Build Custom AI Agents
Extend the shared AI agent class to integrate a custom provider with Luminova’s request options, HTTP helpers, and agent registry.
- Define Application Configuration Classes
Define Luminova configuration objects with an initialization hook, type checks, and array or JSON export.
- Database Connection Configuration and Failover
Configure database servers for connection failover and route connections to a selected shard.
- Abstract Base Class for Database Models
Define database models with column rules, record hydration, and table-specific queries.
- Database Queue for Background Tasks
Stage, enqueue, and process background tasks with a database-backed queue.
- Abstract Base Class for Email Templates
Create reusable email templates with a subject, HTML and text bodies, and file attachments.
- Schedule Background Tasks with a Filesystem Lock File
Register scheduled controller methods and run due tasks with Novakit using a JSON lock file.
- Backend Session Storage Handlers
Implement a custom session storage handler or extend the shared behavior used by Luminova’s session handlers.
- Build Custom PHP Stream Wrappers
Register a custom PHP stream protocol, inspect its registration, and override callbacks for the operations your wrapper supports.