Aller au contenu
PHP Ecosystem
Explore

Use the FrankenPHP worker skill

Ce contenu n’est pas encore disponible dans votre langue.

The canonical source is skills/yii2-frankenphp-worker/SKILL.md. It guides factory binding, native worker setup, bridge finalization, and request isolation.

From the application root, list and install the skill from a package checkout or Composer installation:

Terminal window
npx skills@1.7.2 add ./vendor/yii2-extensions/franken-php --list
npx skills@1.7.2 add ./vendor/yii2-extensions/franken-php \
--skill yii2-frankenphp-worker --agent claude-code codex opencode

The 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:

ClientProject pathExplicit 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.

  • 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.