Platform Architecture Modules Developers Security Integrations Articles
Built from real production systems. Designed to be extended.

A platform for building serious software.

Alegor provides the reusable technical foundation behind modern business systems — users, permissions, workflows, documents, APIs, integrations and more.

Modular
Decoupled domain boundaries
Multi-Tenant
Isolated data & permissions
API-First
Deterministic REST & events
alegor-topology.svg
CUSTOM BUSINESS DOMAIN Your Code
ALEGOR PLATFORM FOUNDATION
Identity & RBAC
Audit Stream
Workflows (FSM)
Webhook Gateway
PostgreSQL • Redis • S3 • Queues Infrastructure
A system underneath systems.

The Problem

Stop rebuilding the foundation.

Most custom business systems repeatedly rebuild infrastructure that provides little competitive differentiation. Developers spend months reinventing authentication, permissions, audit trails, and file pipelines before shipping their first core business feature.

Identity
Permissions
Documents
Audit Trails
Workflows
Notifications
REST APIs
Integrations
Reporting
Job Queues
Tenancy
Administration

Alegor starts where most projects spend their first months.

Gain a battle-tested modular foundation so your team builds what makes your business unique.

Learn about Platform Scope →
Value Proposition

Custom software without starting from zero.

Alegor combines a reusable technical foundation with software built around the specific workflows, integrations and requirements of an organization.

Instead of choosing between generic off-the-shelf software that cannot fit your operations or building everything from scratch over several years, Alegor offers the middle ground: reusable architecture underneath, bespoke development where it counts.

Delivery Architecture Equation
REUSABLE PLATFORM Alegor
+
CUSTOM DEVELOPMENT AlegorTech
==================
BUSINESS-SPECIFIC SYSTEM
Custom where it matters. Reusable underneath.

Composable Architecture

Modular by design.

Browse all module specs
Core Platform

Identity & Tenancy

Provides unified authentication, user and organization hierarchy, session handling, MFA support, and token management designed for isolated multi-tenant and single-tenant environments.

6 capabilities 4 interfaces
Core Platform

Permissions & Authorization

Fine-grained, audit-ready authorization engine combining role-based access control with attribute-based dynamic policy evaluation across tenants and resources.

6 capabilities 4 interfaces
Production-Ready

Documents & Storage

Comprehensive document processing engine handling secure uploads, chunked streaming, background OCR/conversion, virus scanning pipelines, and signed URL generation.

6 capabilities 4 interfaces
Core Platform

Audit & Compliance Logging

Enterprise-grade audit logger recording who changed what, when, and why, complete with before/after state diffs, user agent fingerprints, and tamper-evident signatures.

6 capabilities 4 interfaces
Production-Ready

Workflows & State Machines

Declarative state machine and multi-step workflow orchestrator for business processes, approvals, transitions, and automated compensation actions.

6 capabilities 4 interfaces
Production-Ready

Notifications & Messaging

Unified notification dispatcher featuring tenant-configurable templates, per-user delivery preferences, batching, rate limiting, and delivery status tracking.

6 capabilities 4 interfaces
Core Platform

Integrations & Webhooks

Comprehensive integration gateway supporting signed outbound webhooks, inbound webhook verification, OAuth client credentials, rate limiting, and dead-letter queue recovery.

6 capabilities 4 interfaces
Production-Ready

Reporting & Aggregation

Analytical querying engine optimized for multi-tenant data summaries, large CSV/Excel/PDF export jobs, and recurring executive report generation.

6 capabilities 4 interfaces

Multi-Tier Stack

Clear layers. Zero tight coupling.

Alegor cleanly decouples business domain logic from core platform infrastructure and physical compute layers.

BUSINESS APPLICATION LAYER
Custom Invoicing, Supply Chain, Logistics, Healthcare, Client Portals
DOMAIN MODULES & STATE ENGINES
Finite State Machines, Action DTOs, Policy Evaluators, Business Events
ALEGOR PLATFORM CORE
Identity & Tenant Scope
RBAC / ABAC Policies
Immutable Audit
Webhook Gateway
DATA / STORAGE / QUEUES / INFRASTRUCTURE
PostgreSQL (Primary + Replica), Redis Cache, RabbitMQ, S3/R2 Storage, Docker/Kube

Extensibility

Standardize the foundation.
Customize the business.

Alegor is not a rigid template or closed SaaS box that forces your company into a predetermined workflow. The platform provides common technical infrastructure while domain-specific functionality remains 100% customizable in standard code.

  • No proprietary languages: Write clean, standard PHP 8.5+ with full static analysis and unit testing.
  • Replaceable adapters: Swap storage drivers, IdP providers (Okta/Entra), or message queues via clean interface bindings.
  • Full data sovereignty: Host in your own sovereign VPC, private cloud, or on-premise infrastructure.
InvoiceApprovalWorkflow.php Custom Domain Implementation
class InvoiceApprovalWorkflow
{
    public function __construct(
        private AuthorizationEngineInterface $auth,
        private AuditLoggerInterface $audit,
        private WorkflowEngineInterface $workflows
    ) {}

    public function approve(Invoice $inv, User $actor): void
    {
        // 1. Fine-grained RBAC/ABAC verification
        $this->auth->authorize($actor, 'invoices.approve', $inv);

        // 2. Finite state machine transition
        $this->workflows->transition($inv, 'approved');

        // 3. Automatic tamper-evident audit
        $this->audit->record('invoice.approved', $inv, $actor);
    }
}

Core Philosophy

Engineering principles.

Every module and architectural pattern in Alegor adheres to strict core engineering principles.

#01

Modularity

Domain services are bounded and decoupled. No spaghetti cross-table dependencies or hidden circular joins.

#02

Explicit Permissions

Default-deny authorization with atomic capability grants and contextual attribute evaluation.

#03

Auditability by Default

Every state mutation captures actor, IP, timestamp, and before/after diffs in an append-only log.

#04

API-First Thinking

APIs and internal endpoints share strict schema DTOs, versioning, and deterministic contracts.

#05

Observability

Deep telemetry hooks across job queues, database queries, and external integration latency.

#06

Replaceable Components

Interface contracts allow swapping cloud drivers (S3/R2/MinIO) or identity systems without refactoring.

#07

Data Ownership

Zero vendor lock-in. Full ownership of database schemas, cryptographic keys, and deployment nodes.

#08

Maintainability

Designed to survive framework upgrades and team turnover over a 10-year enterprise horizon.

#09

Predictable Scalability

Asynchronous background queues and read-replica offloading protect primary transactional latency.

Origins

From production, not theory.

Alegor grew from years of practical experience building complex business systems, integrations, telematics backends, and financial tools. Reusable architectural patterns were systematically extracted, refined, and hardened into a unified platform.

Don't start your next system from zero.

Evaluate the architecture, inspect the module interfaces, or discuss building your business-critical application with the team behind Alegor.