Pushing Limits: Integrating Rust with Laravel for High-Performance Operations
A technical guide on using PHP FFI to leverage Rust's speed for massive data processing and inventory reconciliation in Laravel.
Read ArticleObelaw provides pure architectural patterns and composable tooling: isolate domain logic with Domain (DDD), reach your domains through IUM’s unified fluent API, build modular admin interfaces with Twist, and accelerate delivery with curated Laravel packages. While built with framework-independent clean architecture principles, Obelaw supports Laravel as its main ecosystem.
Modular Filament admin & multi-tenancy
Unified fluent domain API: ium()->...
Bounded contexts, Actions, DTOs & Queries
Standalone tools: Attrify, Trail, O-Configs, Runner
Domain, IUM, Twist, Packages
MIT licensed on GitHub
First-class Laravel & Filament
Pure domain logic & zero bloat
Engineered to keep core business logic pure, testable, and decoupled — while providing first-class, seamless tooling for Laravel as our main ecosystem.
Isolate business rules into clean bounded contexts & DTOs.
Expose domains via unified fluent API with zero UI ties.
Mount modular, multi-tenant Filament admin addons.
Enhance models with dynamic EAV, audit trails & runners.
Bring strict Domain-Driven Design to your application. Partition application complexity into explicit bounded contexts with validated Data Transfer Objects (DTOs), single-purpose Actions for writes, and fluid Queries for reads — keeping business logic independent with native Laravel scaffolding.
Expose all your decoupled business domains through one expressive, compile-checked fluent API. Eliminate tangled controllers, brittle service contracts, and presentation dependencies. Runs anywhere in modern PHP with native gateway support for Laravel.
Build scalable, multi-tenant Filament applications with a plug-and-play addon architecture. Twist powers the UI tier of our Laravel ecosystem, allowing teams to package admin panels, navigation clusters, forms, and tables into composable modules.
A curated collection of standalone, MIT-licensed packages crafted specifically for the Laravel ecosystem to solve targeted problems with zero dead weight. Drop them into any standard Laravel project immediately.
How each pillar fits into your architecture and application lifecycle.
Bounded contexts, validated DTOs, single-purpose Actions, and CQRS queries.
obelaw/framework
Unified fluent API (ium()->...) across domains with zero UI ties.
obelaw/framework Modular Filament addon architecture, dynamic navigation, and multi-tenancy.
obelaw/twist Standalone tools for dynamic EAV (Attrify), audit trails (Trail), configs, and scheduler.
obelaw/attrify, trail... | Pillar | Role & Layer | Core Responsibility | Decoupling Level | Package Command |
|---|---|---|---|---|
| Domain (DDD) | Architecture & Modeling | Bounded contexts, validated DTOs, single-purpose Actions, and CQRS queries. | Pure Domain Purity | obelaw/framework |
| IUM Core | Domain Gateway |
Unified fluent API (ium()->...) across domains with zero UI ties.
| Framework-Agnostic Core | obelaw/framework |
| Twist Platform | Admin & Presentation | Modular Filament addon architecture, dynamic navigation, and multi-tenancy. | Laravel / Filament Native | obelaw/twist |
| Laravel Packages | Workbench Utilities | Standalone tools for dynamic EAV (Attrify), audit trails (Trail), configs, and scheduler. | Standalone & Composable | obelaw/attrify, trail... |
Domain logic stays pure and decoupled at the core, while IUM bridges entrypoints, and Twist + Laravel packages provide first-class UI and tools for Laravel.
namespace App\Domains\Inventory\Actions;
use App\Domains\Inventory\Data\StockAdjustmentData;
use App\Domains\Inventory\Events\StockAdjustedEvent;
final class AdjustStockAction
{
public static function run(StockAdjustmentData $data): StockRecord
{
// Enforce domain invariants
$stock = StockRecord::findOrFail($data->skuId);
$stock->mutateQuantity($data->quantity);
// Emit decoupled domain event
StockAdjustedEvent::dispatch($stock);
return $stock;
}
} Every package and domain is engineered against a strict set of principles. No monolithic traps, no bloat, and no shortcuts.
Core business logic lives purely in the domain layer, completely independent of any web framework runtime, HTTP routers, and presentation views.
Deploy exactly what you need. Small footprints keep your applications fast, auditable, and free of dead vendor dependencies.
State mutations must pass through validated DTOs and single-purpose Actions. Prevent architectural drift across large teams.
Hook into any lifecycle event with isolated listeners. Extend behavior without mutating core domain files.
While domain logic remains framework-independent, Obelaw provides first-class native support, service providers, and Filament UI tools for Laravel as its primary ecosystem.
MIT-licensed and community-driven. You can audit every line of code, fork freely, and integrate without licensing worries.
Obelaw’s core architectural principles are built on pure PHP and decoupled domain design, with first-class native tools, providers, and packages crafted primarily for the Laravel and Filament ecosystems.
Insights on Domain-Driven Design, decoupled development, Twist addons, and Laravel package engineering.
A technical guide on using PHP FFI to leverage Rust's speed for massive data processing and inventory reconciliation in Laravel.
Read Article
Basketin Cart V2 modernizes the package with a cleaner API, flexible additions and discounts, plus a new promotions engine package for advanced pricing rules.
Read ArticleAnnouncing enterprise-grade orchestration features for obelaw/runner-laravel: sequencing, smart retries, atomic locks, dry-run, and lifecycle events.
Read ArticleAdopt pure Domain (DDD), IUM fluent orchestration, Twist modular Filament addons, and precision Laravel packages.
Common architectural and technical questions about Obelaw, Domain-Driven Design, and Laravel integration.
Obelaw is an open-source decoupled architecture platform designed around Domain-Driven Design (DDD). It isolates business logic from framework infrastructure while treating Laravel as its primary, first-class implementation ecosystem.
The 4 pillars are: 1) Domain (DDD) for pure bounded contexts and business invariants; 2) IUM for a fluent orchestration API; 3) Twist for modular Filament admin panels; and 4) curated open-source Laravel packages like Attrify, Runner, and Trail.
Obelaw organizes code into self-contained domain folders with aggregate roots, value objects, domain events, transactional outbox relays, and CQRS actions/queries, preventing monolithic models and tight coupling.
IUM is the fluent developer gateway connecting decoupled domains to delivery layers (HTTP, CLI, queues) through a clean, chainable API without exposing internal models.
Yes. You can install obelaw/framework or individual packages like Attrify, Runner, or Trail via Composer into an existing Laravel codebase without rewriting your application.
Obelaw powers vertical solutions such as Obelaw Dental Practice Management, featuring interactive odontograms, periodontal charting, and 2-way clinical-to-invoice synchronization with Intuit QuickBooks.
Have questions about structuring your domain boundaries, developing Twist addons, or integrating Obelaw packages into your Laravel project? We're here to help.