Download the PHP package spora-ai/spora-plugin-team-graph without Composer

On this page you can find all versions of the php package spora-ai/spora-plugin-team-graph. 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 spora-plugin-team-graph

spora-plugin-team-graph

A per-principal directed graph of agent spawning relationships for Spora. The endpoint GET /api/v1/plugins/team-graph/graph?principal_id=<id> returns the principal's agents (nodes) and the sub_agent connections between them (edges); the admin SPA renders the edges as a Mermaid 10 flowchart and overlays the node cards as real DOM at /apps/team-graph.

Read-only in v1 — no LLM-callable tools, no migrations, no agent templates.

Install

Two packages, as for any plugin with an operator-facing panel. This PHP package does not require the frontend half, so the app must require spora-ai/spora-plugin-team-graph-frontend itself — the explicit command above is a no-op if the dependency is ever pulled in transitively. The frontend package (type: spora-plugin-frontend) is what the SporaPluginFrontendInstaller drops into public/plugins/team-graph/; without it the app entry appears but the panel 404s on the bundle.

Open it

After composer install (which triggers the installer's first-run migration) and the regular bin/spora spora:install step, the Team Graph entry appears under the admin panel's sidebar. It serves from /apps/team-graph.

Who can open which graph

The endpoint is gated on visibility, not control — the same rule GET /api/v1/principals/me applies, so the panel's own principal picker can never offer a principal the endpoint then refuses. A caller may read:

Anything else is a 403 FORBIDDEN. Group owner/admin ("control") is the tier the write paths use — agent transfer, group settings — and is deliberately not required here.

Architecture

Frontend contract

The host SPA loads the bundle from /plugins/team-graph/main.js (TeamGraphApp::entry()), which must be the frontend package's build.lib.fileName(). The bundle installs a mount/unmount contract on window.SporaAppTeamGraph:

hostContext carries the host's api, pinia, theme, route and router; the plugin installs its own Pinia for plugin-local state and branches the host client in through src/api/client.ts.

Tests

The suite covers:

Plan

See spora-workspace/plans/spora-plugin-team-graph.md for the full design context, including the prototype set and the risk register.


All versions of spora-plugin-team-graph with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4.1
spora-ai/spora-core Version >=0.23.0 <2.0.0 || @dev
spora-ai/spora-plugin-team-graph-frontend Version >=0.1.0 <2.0.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 spora-ai/spora-plugin-team-graph contains the following files

Loading the files please wait ...