semitexa / core
Semitexa Core - framework runtime, console tooling, and composer integration
Requires
- php: ^8.4
- composer-plugin-api: ^2.0
- predis/predis: ^2.0
- psr/container: ^2.0
- semitexa/docs: *
- semitexa/tenancy: *
- symfony/console: ^7.3
- symfony/process: ^7.3
Requires (Dev)
- swoole/ide-helper: ^5.1
- dev-master
- 2026.04.05.0855
- 2026.04.03.1349
- 2026.04.03.1240
- 2026.04.03.1207
- 1.1.64
- 1.1.63
- 1.1.62
- 1.1.61
- v1.1.60
- 1.1.58
- 1.1.56
- v1.1.54
- v1.1.53
- v1.1.52
- v1.1.51
- v1.1.50
- v1.1.49
- v1.1.48
- v1.1.46
- 1.1.45
- v1.1.44
- v1.1.43
- v1.1.42
- v1.1.41
- v1.1.40
- v1.1.39
- v1.1.38
- v1.1.37
- v1.1.36
- v1.1.35
- v1.1.34
- v1.1.32
- v1.1.31
- v1.1.30
- v1.1.29
- v1.1.28
- v1.1.27
- v1.1.26
- v1.1.25
- v1.1.24
- v1.1.23
- v1.1.22
- v1.1.21
- v1.1.20
- v1.1.19
- v1.1.18
- v1.1.17
- v1.1.16
- v1.1.15
- v1.1.14
- v1.1.13
- v1.1.12
- v1.1.11
- v1.1.4
- v1.1.2
- 1.1.1
- 1.1.0
- v1.0.17
- v1.0.16
- v1.0.15
- v1.0.14
- v1.0.13
- v1.0.12
- v1.0.11
- v1.0.10
- v1.0.9
- v1.0.8
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-develop
- dev-review/package-metadata-20260323
- dev-bugfix/tenancy
This package is auto-updated.
Last update: 2026-04-05 09:00:31 UTC
README
Framework runtime: request/response lifecycle, attribute-driven discovery, DI container, CLI tooling, and Swoole integration.
Purpose
The foundation of every Semitexa application. Manages the full request lifecycle — from route discovery via PHP 8.4 attributes through handler execution to response rendering. Provides the DI container with two-tier scoping (worker-readonly + request-mutable), the CLI via bin/semitexa, and the Composer plugin for classmap-based discovery.
Role in Semitexa
Root dependency for all Semitexa packages. Every module, platform component, and library builds on Core's attribute discovery, container, and pipeline.
Key Features
#[AsPayload]/#[AsPayloadHandler]attribute-driven routing- route-level
produces/consumesmetadata for content negotiation AttributeDiscoveryandClassDiscoveryvia Composer classmap- Two-tier DI:
SemitexaContainer(worker-scoped readonly) +RequestScopedContainer(per-request mutable) RouteExecutorpipeline with exception mapping and response decorationExceptionResponseMapperInterface/RouteMetadataResolverInterface/RouteInspectionRegistryInterfaceseamsHttpStatusenum replacing magic integersEventDispatcherwith sync/defer/queued modes- Redis and SwooleTable session handlers
bin/semitexaCLI (server:start, db:migrate, code generation)- Composer plugin for framework integration
Notes
Core is a Composer plugin (type: composer-plugin). It installs framework scaffolding and provides classmap-based discovery. The two-tier container design is essential for Swoole: readonly bindings survive across requests, mutable bindings are cloned per request.