dev-master
9999999-devWebmention package from Apiary Indieweb support
MIT
The Requires
- php >=5.4.0
- guzzlehttp/guzzle ^6.1
- psr/http-message ^1.0
- psr/log ^1.0
The Development Requires
Webmention package from Apiary Indieweb support
![Software License][ico-license]
![Coverage Status][ico-scrutinizer]
![Total Downloads][ico-downloads], (*1)
A PHP Webmention client, for PSR-7 responses. Part of the Apiary IndieWeb support packages., (*2)
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., (*3)
Webmention is a modern alternative to Pingback, and one of the building blocks of the independent web. For more information about Webmentions see IndieWeb, Webmention.org and Webmention.io., (*4)
Via Composer, (*5)
``` bash $ composer require apiary/webmention, (*6)
## Usage ``` php $client = new Apiary\Webmention\Client(); $client->send($source, $target);
You can provide an optional logger to the client:, (*7)
``` php $client->setLogger($logger);, (*8)
## Change log Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently. ## 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: * https://github.com/pfefferle/node-webmention-testendpoint * https://github.com/voxpelli/node-webmention-testpinger ``` bash $ composer test
Please see CONTRIBUTING and CONDUCT for details., (*9)
If you discover any security related issues, please email darren@apiaryhq.com instead of using the issue tracker., (*10)
The MIT License (MIT). Please see License File for more information., (*11)
Webmention package from Apiary Indieweb support
MIT