Use the FrankenPHP worker skill
Цей контент ще не доступний вашою мовою.
The canonical source is skills/yii2-frankenphp-worker/SKILL.md.
It guides factory binding, native worker setup, bridge finalization, and request isolation.
Install in an application
Section titled “Install in an application”From the application root, list and install the skill from a package checkout or Composer installation:
npx skills@1.7.2 add ./vendor/yii2-extensions/franken-php --listnpx skills@1.7.2 add ./vendor/yii2-extensions/franken-php \ --skill yii2-frankenphp-worker --agent claude-code codex opencodeThe source can also be an absolute checkout path. To use GitHub, replace the source with
yii2-extensions/franken-php and list first to confirm the selected revision contains the skill. Keep project scope;
--copy creates a snapshot that must be refreshed when the package is upgraded.
Composer installation alone does not expose skills under vendor/ to clients opened at the application root.
For manual setup, copy or link the complete skills/yii2-frankenphp-worker/ directory to a client discovery path:
| Client | Project path | Explicit activation |
|---|---|---|
| Claude Code | .claude/skills/yii2-frankenphp-worker/SKILL.md | /yii2-frankenphp-worker |
| Codex | .agents/skills/yii2-frankenphp-worker/SKILL.md | $yii2-frankenphp-worker or the skill picker |
| OpenCode | .opencode/skills/yii2-frankenphp-worker/SKILL.md or .agents/skills/ | Ask it to load yii2-frankenphp-worker |
The installer uses .agents/skills/ for Codex and OpenCode, and .claude/skills/ for Claude Code. Keep one editable
source. This checkout’s discovery links point to skills/; avoid duplicate installations in a client’s search paths.
Verify installation and use
Section titled “Verify installation and use”- Installation: verify the directory and YAML frontmatter at the selected client path.
- Discovery: open a fresh client session at the application root and check the skill list or picker.
- Activation: invoke the skill and verify that its body was loaded. Automatic activation is model-dependent.
- Consultation: read the relevant package guide or source signature; avoid loading an entire API catalog.
- Functional result: run the migration checks through FrankenPHP.
Installer --list proves installer discovery only. It does not prove native client activation or runtime success.