Description
Create a @h3ravel/foundation package to house the framework bootstrapping and lifecycle logic shared across environments (HTTP, CLI, workers).
This package acts as the glue between @h3ravel/core, providers, events, and application startup.
Responsibilities
- Application bootstrapping
- Service provider registration
- Environment detection
- Configuration loading
- Lifecycle hooks (boot, ready, shutdown)
Tasks
Acceptance Criteria
- No HTTP-specific logic
- Reusable across CLI, HTTP, and workers
- Clear separation from
@h3ravel/core
*Well-defined startup lifecycle
Difficulty
Advanced
Description
Create a
@h3ravel/foundationpackage to house the framework bootstrapping and lifecycle logic shared across environments (HTTP, CLI, workers).This package acts as the glue between
@h3ravel/core, providers, events, and application startup.Responsibilities
Tasks
@h3ravel/foundationpackageh3ravel()initializerAcceptance Criteria
@h3ravel/core*Well-defined startup lifecycle
Difficulty
Advanced