PHPackages                             stolt/agent-md-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. stolt/agent-md-php

ActiveLibrary[CLI &amp; Console](/categories/cli)

stolt/agent-md-php
==================

A PHP wrapper for AGENT.md, the universal agent configuration file.

v0.0.1(1y ago)11[1 issues](https://github.com/raphaelstolt/agent-md-php/issues)MITPHPPHP &gt;=8.1CI passing

Since Jul 8Pushed 1y agoCompare

[ Source](https://github.com/raphaelstolt/agent-md-php)[ Packagist](https://packagist.org/packages/stolt/agent-md-php)[ RSS](/packages/stolt-agent-md-php/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (6)Versions (2)Used By (0)

AGENT.md PHP
============

[](#agentmd-php)

[![Test Status](https://github.com/raphaelstolt/agent-md-php/workflows/test/badge.svg)](https://github.com/raphaelstolt/agent-md-php/workflows/test/badge.svg)[![Version](https://camo.githubusercontent.com/ae5c39b4a1f8842e507adcb2d7b54d7061dbe0e8fcda7579e6061e17ce20584a/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73746f6c742f6167656e742d6d642d7068702e7376673f7374796c653d666c6174)](https://packagist.org/packages/stolt/agent-md-php)[![Downloads](https://camo.githubusercontent.com/68de4e734aab4710a92890f74b164bbda42f2d0829fa5fb25aebe9a915d78e2a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73746f6c742f6167656e742d6d642d706870)](https://camo.githubusercontent.com/68de4e734aab4710a92890f74b164bbda42f2d0829fa5fb25aebe9a915d78e2a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73746f6c742f6167656e742d6d642d706870)[![PHP Version](https://camo.githubusercontent.com/770d43133153ead0a9b8526e3352ca9933aa60cadcac54fd28aca42c3f71a613/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e312b2d6666363962342e737667)](https://camo.githubusercontent.com/770d43133153ead0a9b8526e3352ca9933aa60cadcac54fd28aca42c3f71a613/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e312b2d6666363962342e737667)[![PDS Skeleton](https://camo.githubusercontent.com/3c7140ee36205075ed977142f25c29eb1fb7809e9b86a865461fc21776ad1665/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7064732d736b656c65746f6e2d626c75652e7376673f7374796c653d666c6174)](https://github.com/php-pds/skeleton)

This library and its CLI supports you in creating, reading, and validating [AGENT.md](https://agent.md/) Markdown files via PHP.

What's AGENT.md?
----------------

[](#whats-agentmd)

`AGENT.md` is a [proposed](https://agent.md/) universal configuration file format for software agents, LLM-powered tools, and AI assistants.

Installation and usage
----------------------

[](#installation-and-usage)

```
composer require stolt/agent-md-php
```

### Available CLI commands

[](#available-cli-commands)

The following list shows the currently available CLI commands to interact with an AGENT.md file.

```
php bin/agent-md list

agent-md-php 0.0.1

Available commands:
  info        Display parsed AGENT.md sections
  init        Create a boilerplate AGENT.md file
  migrate     Migrate legacy agent config files to AGENT.md
  validate    Validate the AGENT.md file
```

### Running tests

[](#running-tests)

```
composer test
```

### License

[](#license)

This library is licensed under the MIT license. Please see [LICENSE.md](LICENSE.md) for more details.

### Changelog

[](#changelog)

Please see [CHANGELOG.md](CHANGELOG.md) for more details.

### Contributing

[](#contributing)

Please see [CONTRIBUTING.md](.github/CONTRIBUTING.md) for more details.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

407d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/132faf5713fa951f4263fad02858a62e55c5d832ad775b33e49ba0cda2f2a028?d=identicon)[Raphael Stolt](/maintainers/Raphael%20Stolt)

---

Top Contributors

[![raphaelstolt](https://avatars.githubusercontent.com/u/48225?v=4)](https://github.com/raphaelstolt "raphaelstolt (3 commits)")

---

Tags

agentagentic-aimarkdownphpcliconfigurationaimarkdownuniversalagent.md

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/stolt-agent-md-php/health.svg)

```
[![Health](https://phpackages.com/badges/stolt-agent-md-php/health.svg)](https://phpackages.com/packages/stolt-agent-md-php)
```

###  Alternatives

[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.7k367.2M12.3k](/packages/nunomaduro-collision)[graste/environaut

Define, configure and protect your application environment and its requirements.

142.7k](/packages/graste-environaut)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
