Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Agents
projectsaturnstudios/pocketflow-php
claude-code
cursor
pocketflow
orchestration
okf
reactphp
pest
shared-state
composer

This package ships an Open Knowledge Format bundle at .okf/ (excluded from Composer dist via .gitattributes export-ignore).

Install
php artisan boost:add-skill projectsaturnstudios/pocketflow-php

Save this content to: AGENTS.md

# Agent guidelines — projectsaturnstudios/pocketflow-php

## Knowledge Bundle (OKF)

This package ships an Open Knowledge Format bundle at [`.okf/`](.okf/) (excluded from Composer dist via `.gitattributes` `export-ignore`).

Before changing PocketFlow code or advising on Node/Flow orchestration:

1. Read [`.okf/index.md`](.okf/index.md) first (progressive disclosure).
2. Open only the linked concepts needed for the task.
3. Prefer `status: stable` concepts; treat `deprecated` as historical only. New agent-written concepts stay `status: draft` until a human verifies them.
4. When you learn something durable about **this package**, update the affected `.okf` concept(s) and append `.okf/log.md`.
5. Keep knowledge at the package-root `.okf/` only — do not nest `.okf` under `src/`.
6. Scope claims to **pocketflow-php**. Fabricate Sketches and ScrapyardIO installer details belong in those packages’ own docs / `.okf` bundles.

## Package rules (quick)

- Composer: `projectsaturnstudios/pocketflow-php`. PHP `^8.4`.
- Namespace: `ProjectSaturnStudios\PocketFlow\` → `src/`.
- Port of [The-Pocket/PocketFlow](https://github.com/The-Pocket/PocketFlow): decision-based graph orchestration (not an onion middleware pipeline).
- Sync entry: `Flow::run(&$shared)` / `Node::run(&$shared)`. Async: `run_async(&$shared)` returning ReactPHP promises.
- Durable state lives in `$shared`. Flows clone nodes each hop — do not rely on instance properties across hops.
- Prefer `is_null($x)` over `$x === null`. No class-level constants for value sets — use backed enums if you add enums later.
- Tests: Pest v4 (`composer test`). Do not commit `vendor/` or `.phpunit.cache`.

Agent guidelines — projectsaturnstudios/pocketflow-php

Knowledge Bundle (OKF)

This package ships an Open Knowledge Format bundle at .okf/ (excluded from Composer dist via .gitattributes export-ignore).

Before changing PocketFlow code or advising on Node/Flow orchestration:

  1. Read .okf/index.md first (progressive disclosure).
  2. Open only the linked concepts needed for the task.
  3. Prefer status: stable concepts; treat deprecated as historical only. New agent-written concepts stay status: draft until a human verifies them.
  4. When you learn something durable about this package, update the affected .okf concept(s) and append .okf/log.md.
  5. Keep knowledge at the package-root .okf/ only — do not nest .okf under src/.
  6. Scope claims to pocketflow-php. Fabricate Sketches and ScrapyardIO installer details belong in those packages’ own docs / .okf bundles.

Package rules (quick)

  • Composer: projectsaturnstudios/pocketflow-php. PHP ^8.4.
  • Namespace: ProjectSaturnStudios\PocketFlow\ → src/.
  • Port of The-Pocket/PocketFlow: decision-based graph orchestration (not an onion middleware pipeline).
  • Sync entry: Flow::run(&$shared) / Node::run(&$shared). Async: run_async(&$shared) returning ReactPHP promises.
  • Durable state lives in $shared. Flows clone nodes each hop — do not rely on instance properties across hops.
  • Prefer is_null($x) over $x === null. No class-level constants for value sets — use backed enums if you add enums later.
  • Tests: Pest v4 (composer test). Do not commit vendor/ or .phpunit.cache.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core