application-manager-tools/am-driver
Symfony bundle and framework-agnostic PHP library for integrating managed applications with Application Manager. Supports orchestration commands, consumption webhooks, and operational state push, plus an OpenAPI 3.1.1 spec and integration docs for PHP 7.4+ and Symfony 5.4–8.0.
CREATE_INSTANCE), lifecycle operations (START, STOP, QUOTA_EXCEEDED, UPGRADE_INSTANCE), operational-state reporting, and instance introspection/state views. These are the primitives behind a managed or hosted product tier.createSubscriptionUpgradeSession, createSubscriptionResubscribeSession, target formula IDs) support upgrade paths such as entry tier → higher tier, and reactivation flows. PMs can use these to test packaging, upgrade prompts, and entitlement changes without inventing a billing integration.pushResourceConsumption() gives a standard way to report resource consumption (e.g., storage, seats) back to AM. This supports decisions about metered billing, quota enforcement, and usage dashboards.source values (captain-learning, accident-prediction, application-manager) imply a portfolio-level integration convention. Adopting it reduces one-off integration design and makes cross-product orchestration more consistent.Consider it when:
Core namespace allows manual wiring without Symfony, but that shifts more integration work to your team.Look elsewhere when:
For executives: This package is an accelerator for connecting a PHP product to Application Manager. It gives us the standard provisioning, lifecycle, state-reporting, usage-metering, and upgrade/resubscribe flows without building a custom control-plane connector. That shortens time-to-market for a managed or hosted offering and reduces bespoke integration risk. The caveat is maturity: it is a 0.0.x package with low external adoption, a fast-moving contract, and recurring breaking changes. The right posture is a time-boxed pilot behind an internal adapter, with an exact version pin and a named owner for upstream changes. Do not treat it as a long-term stable platform dependency until it reaches 1.0 or we establish a maintainer commitment.
For engineering: The bundle handles the repetitive contract work: Symfony routes and token auth, orchestration command validation, idempotency, callbacks to AM, consumption webhooks, operational-state push, deferred execution dispatchers, local receipt/snapshot stores, and CLI simulators for end-to-end testing. Your product logic lives in handler implementations such as CreateInstanceHandlerInterface, StartInstanceHandlerInterface, UpgradeInstanceHandlerInterface, and the info/stateview handlers. The main costs are upgrade churn, French-language documentation, growing constructor dependencies in OrchestrationCommandProcessor, and the need to alias every host interface explicitly. Recommended approach: spike one integration, wrap the package behind our own anti-corruption interface, pin the exact version, add contract tests against the OpenAPI spec, and budget migration work for each upstream minor release. The OpenAPI spec and receptacle CLI make a local E2E loop feasible, which is a real de-risking advantage.
Bottom line: Adopt it as a tactical accelerator inside the AM ecosystem, not as a strategic platform bet. The opportunity is real for teams already committed to AM and Symfony; the risk is pre-1.0 churn and near-zero external validation. Fund a small pilot, measure integration time saved against migration overhead, and make the build-vs-buy call after one full lifecycle integration.
How can I help you explore Laravel packages today?