semitexa/ultimate
最新稳定版本:2026.05.12.0933
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.
统计信息
- 总下载量: 93
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-11