PHP code example of matthiasott / webmention

1. Go to this page and download the library: Download matthiasott/webmention library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

matthiasott / webmention example snippets

cron
* * * * * /usr/bin/php /path/to/craft queue/run
sh
php craft webmention/example-template
sh
php craft webmention/receive <source> <target>
sh
php craft webmention/cleanup/failures
sh
php craft webmention/update --webmention-id=123
sh
   php craft webmention/webmentions/refetch-bad-authors --dry-run
   php craft webmention/webmentions/refetch-bad-authors
   
sh
   php craft webmention/update-avatars