dcentrica / metaport-agent-php
Metaport PHP Agent
Package info
gitlab.com/dcentrica/metaport/metaport-agent-php
pkg:composer/dcentrica/metaport-agent-php
Requires
- php: ^8
- cyclonedx/cyclonedx-library: 3.6.0
- guzzlehttp/guzzle: 7.15.2
- linfo/linfo: ^4.0
- paragonie/halite: 5.1.4
- symfony/http-foundation: ^6
- symfony/mailer: ^6
- t4web/composer-lock-parser: ^1.2
Requires (Dev)
- phpstan/extension-installer: 1.4.3
- phpstan/phpstan: 2.1.28
- phpunit/phpunit: 9.6.33
- squizlabs/php_codesniffer: 3.13.6
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-30 06:10:15 UTC
README
<img alt="Metaport Logo" src="metaport-logo.png" />
What is this?
An application agent for PHP apps to send telemetry to a Metaport server using the CycloneDX SBOM standard for data interchange.
How to use
Introduction
The agent will automatically generate an SBOM for your app, submit it to Metaport and subsequently delete it. Data can be sent using the HTTP or Email transports. See the docs site for example requests.
The agent provides a single executable - metaport - which is automatically installed into Composer's vendor/bin directory. It's designed to be invoked on a schedule via cron from within an application's production environment.
Requirements
This package requires PHP ^8.
Install
- Composer
In "disposable" CI pipelines and jobs:
composer require --dev dcentrica/metaport-agent-php
As part of production apps:
composer require dcentrica/metaport-agent-php
- Environment Variables
There are some environment variables which need to be set before the agent will operate correctly. Please see the docs site for more detailed installation and configuration instructions and examples.
Supported Frameworks and CMS's
Yours not listed? Contributions are very welcome. Please file an issue and issue a Merge Request, it's a one-line file change!