PHPackages                             apiaryhq/webmention - 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. apiaryhq/webmention

ActiveLibrary

apiaryhq/webmention
===================

Webmention package from Apiary Indieweb support

09PHP

Since Nov 17Pushed 10y ago1 watchersCompare

[ Source](https://github.com/apiaryhq/webmention)[ Packagist](https://packagist.org/packages/apiaryhq/webmention)[ RSS](/packages/apiaryhq-webmention/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Apiary Webmention Support
=========================

[](#apiary-webmention-support)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ff1749ea59817e73b2e2c640ea83369eea8a187560f4745cb1510cce3b6b1c16/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61706961727968712f7765626d656e74696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/apiaryhq/webmention)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/9bcf5f7e740f5ec7a089ab34d4c507a3e7f0d51c775e378c58346a9ecbe108cb/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f61706961727968712f7765626d656e74696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/apiaryhq/webmention)[![Coverage Status](https://camo.githubusercontent.com/7cc201a702d5113ac51f26335cdbe2cfd74625e81c9780cf10b71407e15d82bc/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f61706961727968712f7765626d656e74696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/apiaryhq/webmention/code-structure)[![Quality Score](https://camo.githubusercontent.com/eaae85008433d63baad84db3845e93927a98db6dd0c7462b3ae3c18ab341e676/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f61706961727968712f7765626d656e74696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/apiaryhq/webmention)[![Total Downloads](https://camo.githubusercontent.com/81642cbd9e0c61b1a676193ef1e5e12f5d94e12b52c50fee8c3b7e8c85f6f918/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f61706961727968712f7765626d656e74696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/apiaryhq/webmention)

A PHP Webmention client, for PSR-7 responses. Part of the Apiary IndieWeb support packages.

This package is compliant with PSR-1, PSR-2, PSR-4 and PSR-7. If you notice compliance oversights, please send a patch via pull request.

Webmention is a modern alternative to Pingback, and one of the building blocks of the [independent web](http://indiewebcamp.com/principles). For more information about Webmentions see [IndieWeb](http://indiewebcamp.com/webmentions), [Webmention.org](https://github.com/converspace/webmention) and [Webmention.io](https://webmention.io/).

Install
-------

[](#install)

Via Composer

```
$ composer require apiary/webmention
```

Usage
-----

[](#usage)

```
$client = new Apiary\Webmention\Client();
$client->send($source, $target);
```

You can provide an optional logger to the client:

```
$client->setLogger($logger);
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

Initially, this package is using a separate running webmention enpoint to test against. You'll need to run the following before the tests will run:

-
-

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Darren Mothersele](https://github.com/darrenmothersele)
- [All Contributors](../../contributors)
- [Skeleton](https://github.com/thephpleague/skeleton/) package from The PHP League

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7f0ce40e51bf1fb3ba86b4a566dbbb0a26e8792e1b9418228324e26e7450f42b?d=identicon)[darrenmothersele](/maintainers/darrenmothersele)

---

Top Contributors

[![darrenmothersele](https://avatars.githubusercontent.com/u/230337?v=4)](https://github.com/darrenmothersele "darrenmothersele (8 commits)")

### Embed Badge

![Health badge](/badges/apiaryhq-webmention/health.svg)

```
[![Health](https://phpackages.com/badges/apiaryhq-webmention/health.svg)](https://phpackages.com/packages/apiaryhq-webmention)
```

PHPackages © 2026

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