Webmention package from Apiary Indieweb support
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.
$ composer require apiary/webmention
$client = new Apiary\Webmention\Client(); $client->send($source, $target);
You can provide an optional logger to the client:
Please see CHANGELOG for more information what has changed recently.
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
If you discover any security related issues, please email email@example.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.