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.08.04.2028(2w ago)1357[1 issues](https://github.com/semitexa/semitexa-core/issues)20MITPHPPHP ^8.4

Since Mar 6Pushed 2w agoCompare

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

READMEChangelogDependencies (69)Versions (123)Used By (20)

Semitexa Core
=============

[](#semitexa-core)

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 95% of packages

Maintenance77

Regular maintenance activity

Popularity18

Limited adoption so far

Community28

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 56.1% 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 ~2 days

Total

116

Last Release

14d 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 (213 commits)")[![needalicense](https://avatars.githubusercontent.com/u/13330467?v=4)](https://github.com/needalicense "needalicense (87 commits)")[![goosyboosy](https://avatars.githubusercontent.com/u/13351014?v=4)](https://github.com/goosyboosy "goosyboosy (78 commits)")[![tarashanych](https://avatars.githubusercontent.com/u/49571976?v=4)](https://github.com/tarashanych "tarashanych (2 commits)")

---

Tags

composer-pluginconsolecoreruntimesemitexaconsolecoreruntimecomposer-pluginsemitexa

###  Code Quality

TestsPHPUnit

### 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

[laravel/framework

The Laravel Framework.

34.9k556.2M21.5k](/packages/laravel-framework)[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k17.0M1.1k](/packages/phpro-grumphp)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k39.6k](/packages/matomo-matomo)[oro/platform

Business Application Platform (BAP)

645146.3k118](/packages/oro-platform)[kimai/kimai

Kimai - Time Tracking

4.8k9.4k1](/packages/kimai-kimai)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6943.5M449](/packages/drupal-core-recommended)

PHPackages © 2026

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