Download the PHP package droost/workflow without Composer

On this page you can find all versions of the php package droost/workflow. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package workflow

droost

ci Packagist

droost is the command-line half of Droost: it gives an AI coding agent a map of your Drupal codebase (the brain), and takes every change it makes through plan → code → test → complete, with checks at each step (the workflow). It is a framework-free PHP package: not a Drupal module, and it never boots Drupal.

The Droost ecosystem

Project What it is Where
droost/workflow (this repository) The droost command: the brain and the workflow. GitHub · Packagist
droost/engine The engine under the command: the code index, the wiki and search cores, the agent harness installers. GitHub · Packagist
Droost (drupal/droost) The Drupal module: the agent asks the live site about itself, and changes it through tools a person switches on. drupal.org
Droost CMS A Drupal CMS recipe for a site an agent builds: the module's content tools, Droost Theme, UI Patterns. drupal.org
Droost Theme A base theme for agents: Tailwind v4 and daisyUI, design tokens in one file, Canvas-ready components. drupal.org
Droost UI Kit Manage Display built from Single Directory Components, on UI Patterns 2. drupal.org
Droost Framework The map of all of these on drupal.org. drupal.org

Documentation, the FAQ and the agent-readable docs (llms.txt) are at droost.org.

What it does

It works with any agent that can run commands: droost init writes the instructions for Claude Code, Codex, Gemini, opencode and Qwen. The guard is Claude Code's today; on other agents the gates still hold the run, and the report says enforcement was advisory.

Install

Let your agent do it:

Or by hand, in its own Composer project so the site's dependencies can never break it:

Pin platform.php to the PHP droost will run under: installed from a host with a newer PHP, Composer otherwise picks dependencies the site's container cannot load. On DDEV, run Composer on the host and droost in the container (ddev exec tools/droost/vendor/bin/droost …). Then start a new agent session, so the hooks and skills load.

Configure

init writes droost/droost.yml, the one file that says what a run is held to. It is committed, so loosening a gate shows up in review, and the guard refuses edits to it during a run. The main lever is the level:

Level What a run is held to
low basic static checks, no tests; the one level that may turn a required gate off (and records it as off, never passed)
medium phpcs, phpstan level 2 and the browser check; a changed class needs a changed test
high phpstan 6 and unit tests; the guard's enforcement is hard
xhigh adds coverage, mutation testing and the front-end linters
max everything, strict; the test suites must exist
custom your own gates: block is the truth (what init writes)

The level is the operator's to set, from their own terminal: droost workflow:effort <level> (--preview shows what it would change). Every gate, threshold and option is in Configuration.

Use

Ask your agent for a change. In Claude Code, /droost:workflow:start <what you want>; any other agent finds the same procedure through AGENTS.md. The agent researches, writes a spec, builds, tests and completes, and the run stops at whatever a gate refuses.

Command What it answers
code:wiki [page] the wiki (droost/wiki), and a page per installed contrib module and theme: its version (composer.lock), what it needs and provides (its YAML), whether the last configuration export enabled it. code:wiki status checks each page against its sources (the wiki_fresh gate); code:wiki stamp re-records a page's source hashes
code:tree [module\|path] modules and themes, their files, classes, functions and methods, and each module's hooks, services and routes
search:arch <words> plain text over the documentation: the wiki, the inventory, each extension's README and docs
code:symbol <name> where a class, interface, trait, function or method is defined
code:graph <symbol> what it calls, what calls it, what it injects and implements (service:<id>, route:<name>, hook:<name> too)
search:code <query> symbol names and wiki text, lexically; the nearest code chunks too when search.embeddings names an endpoint
code:docs, code:deprecations module documentation; Drupal core's deprecations, offline
brief the project in one answer, from its files
code:index [--full] builds or refreshes the code index
workflow:<verb> the run: workflow:run, workflow:status, workflow:criteria, … (below)
init, migrate, doctor install, move an old lever file, report what droost can see
guard <verb> the guard a harness's hooks call; not for typing

The commands that loosen the rules are the operator's alone: effort, gate-waive, bypass, writing a baseline, ticket move, intake answer and intake abandon. The guard refuses them from the agent's shell and hands back the command for the operator to run in a terminal of their own, and making a run autonomous (lead autonomous) needs that terminal too (The guard).

Documentation

On droost.org: Getting started · How it works · On an existing site · Your first run · Commands · Troubleshooting · FAQ

The reference, in this repository:

Topic What it covers
Configuration droost/droost.yml: the levels, every gate and its options, storage, the wiki and semantic search
A project's own rules a baseline for existing problems; the project's own gates, hooks and walls; house rules
Gates, criteria and the feedback loop which gate runs at which phase, how each requirement is matched to its proof, what happens when a gate fails
The intake a site from a design, planned and approved before it is built; who finishes a run
Tickets work items from a folder of Markdown tickets, or from a cockpit
Run state and run events what a run records, and the events other tools can read
The pack and the run panel what init installs for each agent harness; the run panel beside the chat
The guard what it refuses, the operator's commands, which harnesses it covers

Design notes: design · enforcement · adoption baseline · effort presets · cockpit provider API.

Requirements

PHP 8.3+ with pdo_sqlite. Runtime dependencies: symfony/yaml and droost/engine (the code index, the wiki and search cores, the harness installers), which brings nikic/php-parser. No Drupal bootstrap is needed for anything: the levers, the run state, the code index and the wiki are files.

Development

All three legs are hard. A missing binary fails the gate rather than skipping it and says which invocation it could not run — an environment that cannot run a gate is a broken environment, not a gate that does not apply.

License

GPL-2.0-or-later.


All versions of workflow with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
ext-mbstring Version *
ext-pdo_sqlite Version *
droost/engine Version ^1.1
symfony/yaml Version ^6.4.50 || ^7.4.23 || ^8.1.11
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package droost/workflow contains the following files

Loading the files please wait ...