Download the PHP package application-manager-tools/am-driver without Composer
On this page you can find all versions of the php package application-manager-tools/am-driver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download application-manager-tools/am-driver
More information about application-manager-tools/am-driver
Files in application-manager-tools/am-driver
Package am-driver
Short Description Symfony bundle and framework-agnostic core to integrate managed applications with Application Manager (orchestration, consumption, operational state).
License MIT
Informations about the package am-driver
application-manager-tools/am-driver
Symfony bundle and framework-agnostic PHP library to integrate managed applications with Application Manager (orchestration commands, consumption webhooks, operational state push).
Specification: cahier des charges connecteur AM.
OpenAPI 3.1.1 (récepteur + client AM + kit Swagger UI) : docs/openapi/README.md.
Manuel d’intégration (intégrateurs humains) : docs/MANUEL-INTEGRATION-INTEGRATEURS.md.
Intégration technique : docs/ECARTS-AM.md.
Install
PHP ^7.4, symfony/http-client and symfony/console ^5.4|^6.4|^7.0|^8.0.
Développement du bundle (Docker)
Comme le back ApplicationManager : ./bin/php exécute PHP dans le conteneur Compose (repli sur le PHP hôte si Docker est absent).
Swagger UI (spec récepteur, port AM_DRIVER_SWAGGER_PORT, défaut 18098) :
Réceptacle HTTP (port hôte configurable via RECEPTACLE_PORT dans .env, défaut 18099) :
Variables Docker : .env (versionné) et .env.local (surcharges locales, non versionné).
Symfony quickstart (≈10 minutes)
-
Register the bundle (Flex discovers it automatically, or):
-
Configure (see
.env.local.dist): -
Import routes:
- Implement the three handlers (your product logic only):
Register services with Symfony autoconfigure, or explicit tags in services.yaml.
- Optional: push consumption from your code:
source values (stable)
| Product | source |
|---|---|
| Captain Learning | captain-learning |
| Accident Prediction | accident-prediction |
| Application Manager (self-managed) | application-manager |
Core-only (no bundle)
Use classes under ApplicationManagerTools\AmDriver\Core\ and wire AmApiClient, OrchestrationCommandProcessor, ResourceSnapshotManager manually.
CLI (local development)
E2E loop (receptacle)
Terminal 1:
Terminal 2:
Data is persisted under /tmp/am-driver-receptacle by default (--data-dir).
License
MIT
All versions of am-driver with dependencies
symfony/config Version ^5.4|^6.4|^7.0|^8.0
symfony/console Version ^5.4|^6.4|^7.0|^8.0
symfony/dependency-injection Version ^5.4|^6.4|^7.0|^8.0
symfony/http-client Version ^5.4|^6.4|^7.0|^8.0
symfony/http-foundation Version ^5.4|^6.4|^7.0|^8.0
symfony/http-kernel Version ^5.4|^6.4|^7.0|^8.0
symfony/routing Version ^5.4|^6.4|^7.0|^8.0
symfony/yaml Version ^5.4|^6.4|^7.0|^8.0