Luminova Framework

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

  1. 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.

  2. Define Application Configuration Classes

    Define Luminova configuration objects with an initialization hook, type checks, and array or JSON export.

  3. Database Connection Configuration and Failover

    Configure database servers for connection failover and route connections to a selected shard.

  4. Abstract Base Class for Database Models

    Define database models with column rules, record hydration, and table-specific queries.

  5. Database Queue for Background Tasks

    Stage, enqueue, and process background tasks with a database-backed queue.

  6. Abstract Base Class for Email Templates

    Create reusable email templates with a subject, HTML and text bodies, and file attachments.

  7. Schedule Background Tasks with a Filesystem Lock File

    Register scheduled controller methods and run due tasks with Novakit using a JSON lock file.

  8. Backend Session Storage Handlers

    Implement a custom session storage handler or extend the shared behavior used by Luminova’s session handlers.

  9. Build Custom PHP Stream Wrappers

    Register a custom PHP stream protocol, inspect its registration, and override callbacks for the operations your wrapper supports.