Download the PHP package c975l/pilot-bundle without Composer

On this page you can find all versions of the php package c975l/pilot-bundle. 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 pilot-bundle

PilotBundle

Symfony bundle that pilots projects as cards on pages of their own, shared between the members of each space — steps, deadlines, feedback with screenshots, cards shared by link, a step running an action on a runner machine that hands the card back for validation, and an MCP server for AI agents.

GitHub Packagist Version PHP Version

Bundle page · Tutorials · Live demo · Demo back-office

BUNDLE UNDER DEVELOPMENT — USE AT YOUR OWN RISK


Why PilotBundle

Add PilotBundle on top of the shared CoreBundle foundation when a site should hold its own projects: what is to do, by when, by whom, and what a machine can do on its own. Everything lives in the application — the spaces, their cards, their steps and their files — on pages of their own at /pilot, outside the back office, and a machine of yours (a workstation, a server) carries out the actions it declares, then hands the card back for a human to validate. The bundle calls no AI itself: whatever does the work, a model or a plain script, is the command a runner maps an action to.


TL;DR — a Project is a space of Cards shared between Members with a role, PilotAccess answers what an account may do in it, CardFlow ticks, runs and validates, RunQueue hands runs to a Machine under a lease through /api/pilot/runner, and PilotMcpProvider lets an AI agent do the same with its account's rights.

Contents

Features

Requirements

Installation

Then install the bundle's public files (its stylesheet and icons), as for any bundle:

The migration creates the tables pilot_project, pilot_member, pilot_card_set, pilot_card, pilot_card_assignee, pilot_doc, pilot_plan, pilot_plan_template, pilot_plan_template_project, pilot_run, pilot_machine, pilot_machine_project, pilot_action, pilot_action_project, pilot_credit and pilot_report. Then import the routes and open the runner API to the machines, which present their own token, and the shared cards to whoever holds their link:

Importing an export

Brings in the projects, tasks and files of a piloting kept elsewhere before, exported as JSON documents. The folder holds one sub-folder per collection of the artifact database (settings, tasks, docs), one JSON file per document, the character sheets left aside (make them cards of a collection of sheets). The project names come from settings/projects.json. Run again, the import updates what it wrote instead of duplicating it, overwriting the title, note, date, checklist and done state of every card it matches.

Runner machines

A runner is any program, on a workstation or a server, that polls /api/pilot/runner/claim with its machine's token: any language able to send HTTP and read JSON will do, and the site never sends a command, only an action key and the values of its parameters. The link between an action and a runner is that key: at each call the machine declares the keys it can run, which fills the Actions screen; a card or a step names a key (picked in the step's form on the card), and the queue gives a run only to a machine that declared it, and takes one only for an action offered to the card's space (refused otherwise, whoever names it: a step, an editing link, an agent, a report). The reference runner ships in runner/ (Python 3 with requests and PyYAML): copy the folder to the machine, write runner.yaml from runner.yaml.dist (the sites served, each with its token, and an optional command printing the balances) and actions.yaml from actions.yaml.dist in ~/.config/pilot-runner (or $PILOT_RUNNER_CONFIG), then run pilot-runner.py --once to try it and pilot-runner.py --install for a systemd user service. It is generic: its actions.yaml maps each key to a command (bash, Python or anything else), so writing an action means writing a script and declaring it there. A machine takes as many runs at once as its « Runs in parallel » setting allows (Machines screen, 1 by default, told at every claim in the X-Pilot-Parallel header); an action marked exclusive: true in actions.yaml (a driven browser, a heavy export) starts only on an idle machine and runs alone, the runner asking for the others alone (only in the claim) while runs are under way, and the site giving none of them while an exclusive one waits, so that the machine empties for it. A run under way shows the progress its command reports, or, when that lags, an estimate (« ≈ 40 % ») from the median time of the action's last runs, never past 95 %. A FILE /absolute/path line of a command names a file it wrote, never sent: the step shows those paths under it once its run is done, each folder once with its file names (files in runs/{id}/finish, 50 at most). With the config pilot-open-scheme (pilot-open by default), each folder and file is a pilot-open:///path link opening it on the computer of whoever clicks: runner/pilot-open.py --install declares that handler for the current user, and it opens only the paths under the folders its runner.yaml lists under open:, never a program, so each machine keeps its own layout:

prints the machine's token once (only its hash is kept; running it again for the same name replaces the token); the Machines screen does the same. The runner (runner/pilot-runner.py) polls POST /api/pilot/runner/claim with Authorization: Bearer <token> and the actions it declares ({"actions": {"key": {"label": "…", "params": ["…"], "card": false, "help": "…"}}}, in the order their buttons show; card: true keeps an action off the project's page buttons), each recorded on the Actions screen, where the projects offering it are chosen, the claimed run carrying the card's title, note, date (due, YYYY-MM-DD, empty in the backlog), project slug and file (doc slug and its docMarkdown); it then reports on runs/{id}/progress, sends each file on runs/{id}/output (a <key>.report.json refreshes a report, a <slug>.doc.md writes that file and attaches it to the card) and closes with runs/{id}/finish (a title there renames the card, sent by the reference runner when the command prints a TITLE <text> line; a spent there, {"credit-key": amount} from SPENT <credit> <amount> lines, takes the amount off a credit typed in by hand, only the credit the step's cost names, a service's balance being read again by the morning refresh and the dashboard's button). A run whose machine goes silent past its 60 s lease is put back in the queue. A run stopped from the card is refused at its next heartbeat (409), and the runner stops the command with everything it started. The files are kept under private/pilot/runs/, declared to the offsite backup.

Security of the runner API

The runner API is a door into the site, so its key and its lock hold as follows.

MCP server

The piloting brings its tools to the site's MCP endpoint, /api/mcp, which c975l/core-bundle serves and opens (see its README, "Opening the site to AI agents"): PilotMcpProvider, under the pilot key of the agent tokens. They act with the rights of the token's account, as the piloting pages give them (PilotAccess): the spaces it sees, a card its role may change, a guest only on the cards given to it and on none of the files, opened from contributor up as on their page; a reading token gets the reading tools only.

Tool Does
pilot_spaces The spaces the account sees, with their open cards counted and their collections
pilot_cards The cards holding the search words, else the open cards of a space, else every open card due today or late
pilot_card A card as markdown, with its address and the index of each step and comment, the action a step names and where its last run stands
pilot_add_card A card added to a space, with a title, an optional note and due day (YYYY-MM-DD)
pilot_tick_step A step of a card ticked by its index, or unticked with done false, a call repeated changing nothing
pilot_comment A comment left at the end of a card
pilot_edit_card Only the fields given: title, note (empty clears it), due (empty for the backlog), space (slug), collection (name) and doc (slug of a file of its space, empty to detach it)
pilot_add_steps steps added after the card's last one, refused on a card following a checklist template
pilot_close_card A card marked done, or opened again with done false
pilot_run_step The machine action a step names queued for a machine of its space, its run then read on the step
pilot_merge_cards A card merged into another (note, steps and comments carried over), then deleted
pilot_delete_card A card deleted for good with its runs and their files
pilot_docs The files holding the search words, else those of a space, else every file the account sees
pilot_doc A file as markdown: title, summary, then detail
pilot_write_doc A file added to a space with its title, or the one named by doc rewritten, only the summary or detail given changing

The reading tools are marked read-only, the writing ones not and merging and deleting destructive, so the client asks before each write unless it was told to allow it: the confirmation is the client's, the server enforcing none. With Claude Code:

Opening the files on the computer

A command that prints FILE /absolute/path lines names the files it wrote: they are never sent to the site, the step only shows where they are once its run is done, each folder by its name (its whole path on hover) followed by its files one by one. A LINK <url> [words] line leaves a link under the step once its run is done (a draft post to approve, for instance), opened in a new tab and named by its words or its host (http(s) only, ten at most). At the end of its text, a step shows when and by whom it was made (dd/mm/yyyy hh:mm - initials): its run's files and the machine, otherwise the minute it was ticked and the initials of who ticked it (taken from the name part of their identifier). When an earlier step's run wrote files after its own, its files are greyed and marked « To redo », the next run replacing them. A browser opens no local path from a web page, so a small handler on each computer does it, the site knowing nothing of how that computer is laid out:

  1. Keep the config pilot-open-scheme at pilot-open, its default (set to none, the folders and files stay plain text, an emptied field taking the default back).
  2. On each computer, list under open: in the runner's runner.yaml the folders whose files may be opened (~/Documents, the work folders…); a path outside them, a program or a script is never opened.
  3. Declare the handler for the current user: PILOT_RUNNER_CONFIG=<config folder> python3 runner/pilot-open.py --install (Linux, xdg-mime).

A click on a folder then opens it in the file manager, on a file in its usual application, Chrome asking once to allow pilot-open:// links.

Configuration

Key Default Use
pilot-horizon-days 7 Days the Dashboard shows one by one, before grouping by month
pilot-open-scheme pilot-open Scheme of the links opening on the computer the files a step names, pilot-open with runner/pilot-open.py, none to leave the paths as text (see Opening the files on the computer)

Translations

Everything the piloting pages and the settings show is in the pilot domain, the guided projects' spoken narrations in pilot_narration, the config keys' labels in site_config, all in English, French and Spanish.


Guided projects

The bundle contributes its guided projects in the 12000 block GuidedProjectProviderInterface reserves it, walked on the piloting pages themselves: their layout mounts ConfigBundle's panel (pilot_guided_project_mount()) and loads its script beside the bundle's. pilot-space opens the form of a new space, then walks its name, its address and its colour, and ends on the save button. pilot-machine does the same for a runner machine — its name, the runs it takes at once, the spaces it serves — the token then shown once. pilot-template makes a plan template — its name, the spaces it is offered on, whether it lays one checklist card, its steps — and pilot-credits a credit — its label, its key, its service or a balance typed in by hand, its API key — then goes back to the dashboard to read the balances again. These four are offered to site-role-admin, the settings being the admin's.

pilot-card, pilot-steps, pilot-share, pilot-run and pilot-agent open on the dashboard and let the user pick the space and the card they work on, never guessing it: the first adds a card from the + of a tab, the second gives a card a step (from its template on a card following one), folds its step groups and adds a feedback, the third copies its reading link, and pilot-run launches a machine step with its ▶ then hands the card's open feedback to the machine, and pilot-agent hands a step to an AI agent started by the runner, which works on the card through the site's MCP endpoint, ticks what it finishes and asks on the card what it misses. They are offered to whoever opens the guided projects' page, each gesture then checking the account's role in the space.


What this bundle deliberately does not contribute

ConfigBundle and UiBundle expose a long list of contribution points, and not branching one is a valid answer — it is only worth writing down:

Point Why not
Recurring deadlines (periodic cards) the recurring actions are launched by hand for now
Back-office screens the piloting pages and their settings live at /pilot, the back office only links there
Blocks a space is worked on its own pages, not shown on the site's
Emails, sitemap, feeds the piloting pages are private, noindex, and announce nothing
Content translation a card is written in the words of those who work on it
Account section, data export a member's cards belong to the space, not to the account

AI agent skills

The package ships a skill of its own, skills/c975l-pilot/SKILL.md, written for the coding agent of the site installing this bundle rather than for someone modifying it. Point your agent at it:

It holds the model (spaces, cards, members and their roles, runs under a lease), the pages and the gestures each role holds, the runner's protocol and the MCP tools, and what an agent gets wrong when left to its own habits — a right checked in a template only, a card reached by a bare find(), a machine token in a URL — each class, route and command named as it actually is in the sources.

Nothing is installed, nothing is copied into your project: the file sits in vendor/ like any other part of the package and follows it at each composer update. A user of Claude Code wanting it to load by itself symlinks it into their own skills directory:

Tests\SkillsTest keeps the file honest: every path, route, config slug, command and class member it quotes is checked against the sources, so renaming any of them fails the build rather than leaving an agent confidently wrong.


License

MIT, see LICENSE. The icons of public/icons/ are Font Awesome Free 6.5.1 (CC BY 4.0), each file keeping its notice.


[!TIP] If this project helps you save development time:

And if you'd like to support the work directly, the Sponsor button at the top of the GitHub page is there for that. Thank you!


All versions of pilot-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4
c975l/core-bundle Version ^1.96
doctrine/dbal Version ^4.4
doctrine/orm Version ^3.7
easycorp/easyadmin-bundle Version ^5.7
league/commonmark Version ^2.0
mcp/sdk Version ^0.10
nyholm/psr7 Version ^1.8
psr/clock Version ^1.0
psr/log Version ^3.0
symfony/clock Version ^8.0
symfony/framework-bundle Version ^8.0
symfony/http-client Version ^8.0
symfony/psr-http-message-bridge Version ^8.0
symfony/rate-limiter Version ^8.0
symfony/routing Version ^8.0
symfony/security-bundle Version ^8.0
symfony/string Version ^8.0
symfony/translation Version ^8.0
symfony/twig-bridge Version ^8.0
symfony/twig-bundle Version ^8.0
symfony/validator Version ^8.0
twig/extra-bundle Version ^3.0
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 c975l/pilot-bundle contains the following files

Loading the files please wait ...