🚀 DomainFlow Core
A lightweight PHP 8.4+ bootstrapper and DI container designed for **event-driven architecture, lifecycle management, and service providers**.
⚡ Key Features
- Event-Driven: Dispatch and listen to events across your app.
- Service Providers: Modular structure for dependency management.
- Application Lifecycle: Boot, terminate, and hook into system events.
- Middleware Pipeline: Stack middleware callables for pre-processing requests.
- PSR Standards: Built with modern PHP best practices.
use DomainFlow\Application;
use Application\ServiceProvider\MyServiceProvider;
$app = new Application();
// Register a service provider
$app->registerProvider(new MyServiceProvider());
// Boot the application (all providers will be registered automatically)
$app->boot();
🧱 Other DomainFlow Packages
📦 DI Container
Dependency Injection container with support for autowiring, lazy loading, and service providers.
Requires: PHP 8.4+
🔗 System Events
Application Bootstrapper system event logging system for file logging
Requires: PHP 8.4+
🧬 UUID
Version-aware, type-safe UUID generator and inspector with support for UUIDv1 through UUIDv8.
Requires: PHP 8.4+
🔗 Event Sourcing Core
Event sourcing package with optimistic concurrency, snapshots, transactional outbox, and MySQL, MongoDB, and Redis adapters
Requires: PHP 8.4+