semitexa/ultimate
Composer 安装命令:
composer create-project semitexa/ultimate
包简介
Semitexa Ultimate - full-stack project skeleton for SSR applications with docs and core modules
README 文档
README
Source:
semitexa/ultimatescaffold. This file is bundled with the Semitexa Ultimate package and is copied into new projects bybin/semitexa init. In thesemitexa.devmonorepo edit the root copy and runbin/semitexa scaffold:sync-docsto propagate; in a consumer project,bin/semitexa init --only-docsrefreshes the file and local edits will be overwritten.
"Make it work, make it right, make it fast." — Kent Beck
Semitexa isn't just a framework; it's a philosophy of efficiency. Engineered for the high-performance Swoole ecosystem and built with an AI-first mindset, it allows you to stop fighting the infrastructure and start building the future.
Simple by design. Powerful by nature.
Requirements
- Docker and Docker Compose
- Composer (on host for install)
Install
From an empty folder (get the framework and install dependencies):
composer require semitexa/ultimate
From a clone or existing project (dependencies already in composer.json):
composer install
Then:
cp .env.default .env
Run (Docker — supported way)
bin/semitexa server:start
To stop:
bin/semitexa server:stop
Default URL: http://0.0.0.0:9502 (configurable via .env SWOOLE_PORT).
Documentation
Official framework documentation lives in packages/semitexa-docs/. Package-level deep reference lives in vendor/ (or packages/ in the monorepo).
| Topic | File or folder |
|---|---|
| AI context for this project | AI_CONTEXT.md |
| Framework docs hub | packages/semitexa-docs/docs/README.md |
| Workspace / monorepo docs — architecture, DI, PHPStan, testing, policy | packages/semitexa-docs/docs/workspace/README.md |
| Running the app — Docker, ports, logs | vendor/semitexa/core/docs/RUNNING.md |
| Adding pages and routes — modules, Request/Handler | vendor/semitexa/core/docs/ADDING_ROUTES.md |
| Attributes — AsPayload, AsPayloadHandler, AsResource, etc. | vendor/semitexa/core/docs/attributes/README.md |
| Service contracts — contracts:list, active implementation | vendor/semitexa/core/docs/SERVICE_CONTRACTS.md |
The repository does not treat a root-level ./docs/ directory as canonical. Project-level AI guidance lives at root (AGENTS.md, AI_ENTRY.md, AI_CONTEXT.md, AI_NOTES.md); framework guidance lives in packages/semitexa-docs/; per-package reference lives in packages/<package>/docs/.
Structure
src/modules/– your application modules (add new pages and endpoints here). New routes only in modules.packages/semitexa-docs/– official Semitexa framework and workspace documentation.packages/<package>/docs/– per-package canonical reference.var/docs/– working directory for notes, drafts, research, and remediation reports; not canonical.AI_ENTRY.md,AI_CONTEXT.md,AGENTS.md– AI entrypoints and rules at project root;AI_NOTES.mdis your notes (never overwritten).
Tests
Semitexa is Docker-based. Tests must run inside the project's test container. The only supported command is:
bin/semitexa test:run
This wraps PHPUnit with the correct container, environment, and test-path discovery. Pass PHPUnit arguments positionally:
bin/semitexa test:run --filter MyTest bin/semitexa test:run packages/semitexa-core/tests/Integration
Running vendor/bin/phpunit directly on the host is not supported — the environment, service dependencies, and path resolution only match when tests run through bin/semitexa test:run.
Configuration lives in phpunit.xml.dist; tests live in packages/<package>/tests/ (auto-discovered). Local module tests live next to the module they cover at src/modules/<Module>/tests/. There is no root-level tests/ directory and no shared catch-all test bucket.
semitexa/ultimate 适用场景与选型建议
semitexa/ultimate 是一款 基于 Shell 开发的 Composer 扩展包,目前已累计 95 次下载、GitHub Stars 达 2, 最近一次更新时间为 2026 年 02 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「twig」 「frontend」 「ultimate」 「starter-kit」 「SSR」 「project-skeleton」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 semitexa/ultimate 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 semitexa/ultimate 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 semitexa/ultimate 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Shoot aims to make providing data to your templates more manageable
This Symfony bundle integrates PhpSpreadsheet into Symfony using Twig.
A Twig extension to insert css as inline styles with a tag
Caching and compression for Twig assets (JavaScript and CSS).
Query filtering in your frontend
Article CSS-ID Frontend Output Optimization
统计信息
- 总下载量: 95
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 23
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-11