PHPackages                             semitexa/core - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. semitexa/core

ActiveComposer-plugin[CLI &amp; Console](/categories/cli)

semitexa/core
=============

Semitexa Core - framework runtime, console tooling, and composer integration

2026.04.05.0855(1mo ago)09116MITPHPPHP ^8.4

Since Jan 30Pushed 1mo agoCompare

[ Source](https://github.com/semitexa/semitexa-core)[ Packagist](https://packagist.org/packages/semitexa/core)[ RSS](/packages/semitexa-core/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (20)Versions (81)Used By (16)

semitexa/core
=============

[](#semitexacore)

Framework runtime: request/response lifecycle, attribute-driven discovery, DI container, CLI tooling, and Swoole integration.

Purpose
-------

[](#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
----------------

[](#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
------------

[](#key-features)

- `#[AsPayload]` / `#[AsPayloadHandler]` attribute-driven routing
- route-level `produces` / `consumes` metadata for content negotiation
- `AttributeDiscovery` and `ClassDiscovery` via Composer classmap
- Two-tier DI: `SemitexaContainer` (worker-scoped readonly) + `RequestScopedContainer` (per-request mutable)
- `RouteExecutor` pipeline with exception mapping and response decoration
- `ExceptionResponseMapperInterface` / `RouteMetadataResolverInterface` / `RouteInspectionRegistryInterface` seams
- `HttpStatus` enum replacing magic integers
- `EventDispatcher` with sync/defer/queued modes
- Redis and SwooleTable session handlers
- `bin/semitexa` CLI (server:start, db:migrate, code generation)
- Composer plugin for framework integration

Notes
-----

[](#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.

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance91

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 72.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

76

Last Release

44d ago

Major Versions

1.1.64 → 2026.04.03.12072026-04-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/e94044da9f4c76cc5cd09ef0c693a68065787e10d0d18edfeedbef3573a9163a?d=identicon)[syntaxwanderer](/maintainers/syntaxwanderer)

---

Top Contributors

[![syntaxwanderer](https://avatars.githubusercontent.com/u/1311643?v=4)](https://github.com/syntaxwanderer "syntaxwanderer (161 commits)")[![needalicense](https://avatars.githubusercontent.com/u/13330467?v=4)](https://github.com/needalicense "needalicense (37 commits)")[![goosyboosy](https://avatars.githubusercontent.com/u/13351014?v=4)](https://github.com/goosyboosy "goosyboosy (24 commits)")

---

Tags

composer-pluginconsolecoreruntimesemitexaconsolecoreruntimecomposer-pluginsemitexa

### Embed Badge

![Health badge](/badges/semitexa-core/health.svg)

```
[![Health](https://phpackages.com/badges/semitexa-core/health.svg)](https://phpackages.com/packages/semitexa-core)
```

###  Alternatives

[psy/psysh

An interactive shell for modern PHP.

9.8k545.6M719](/packages/psy-psysh)[nunomaduro/phpinsights

Instant PHP quality checks from your console.

5.6k10.8M426](/packages/nunomaduro-phpinsights)[helhum/typo3-console

A reliable and powerful command line interface for TYPO3 CMS

2939.0M192](/packages/helhum-typo3-console)[laminas/laminas-cli

Command-line interface for Laminas projects

563.7M54](/packages/laminas-laminas-cli)[drupal/console-core

Drupal Console Core

13514.7M12](/packages/drupal-console-core)[buggregator/trap

A simple and powerful tool for debugging PHP applications.

2591.7M40](/packages/buggregator-trap)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
