webicorns / pongback
TYPO3 extension for sending and receiving Pingbacks
Package info
github.com/Nimmermaer/pongback
Type:typo3-cms-extension
pkg:composer/webicorns/pongback
Requires
- php: ^8.2
- ext-dom: *
- ext-libxml: *
- ext-simplexml: *
- guzzlehttp/guzzle: ^7.16 || ^8.3
- guzzlehttp/psr7: ^2.13 || ^3.1
- symfony/messenger: ^7.4
- symfony/rate-limiter: ^7.4
- typo3/cms-backend: ^13.4 || ^14.0
- typo3/cms-core: ^13.4 || ^14.0
- typo3/cms-extbase: ^13.4 || ^14.0
- typo3/cms-fluid: ^13.4 || ^14.0
- typo3/cms-frontend: ^13.4 || ^14.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.64
- infection/infection: ^0.29
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^11.5
- ssch/typo3-rector: ^3.0
- typo3/cms-dashboard: ^13.4 || ^14.0
- typo3/testing-framework: ^9.0
Suggests
- typo3/cms-dashboard: Provides the "Latest Pingbacks" dashboard widget
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-23 08:13:24 UTC
README
TYPO3 Extension - Pongback
Pongback, developed by Webicorns, lets your TYPO3 website receive, moderate, display and send Pingbacks and Webmentions: when another website links to one of your pages, it can notify you, and the link shows up on your page after approval.
📖 Manual: https://docs.typo3.org/p/webicorns/pongback/main/en-us/
(source in Documentation/)
Requirements: TYPO3 13.4 LTS or 14, PHP 8.2 or newer. EXT:dashboard is optional (dashboard widget).
Features
Ready
- Receiving Pingbacks via an XML-RPC endpoint per site
(
https://<your-site>/pingback.ping), implementing the Pingback specification including all fault codes. - Receiving Webmentions at
https://<your-site>/webmention: quick checks and202 Accepted, the source is verified in the background; a Webmention sent again updates the mention, a deleted source removes it. - Discovery: every page announces both endpoints via HTTP headers
(
X-Pingback,Link: <…>; rel="webmention") and<link>tags (both can be switched off per site). - Verification: a Pingback is only stored if the target is a page of the same site that is visible to anonymous visitors, and the source page really links to it.
- Moderation by default: new Pingbacks are stored hidden and need to be approved (or published immediately, if configured).
- Spam and abuse protection: duplicates are rejected, a rate limit per client IP applies, and listeners can reject Pingbacks (see below).
- Security: the source page is fetched with protection against server side request forgery (public hosts and default ports only, every redirect checked, timeout and size limit). Title and excerpt of the source are stored as plain text only.
- Sending to linked websites when a page or its content is changed:
Webmention if the linked page offers it, otherwise Pingback. In the
background via the Symfony Messenger (worker:
vendor/bin/typo3 messenger:consume doctrine), with retries and a log per page. Webmentions are sent again on changes and for removed links. - Moderation in the backend module Web > Pongback: approve, hide and delete the Pingbacks of a page tree, limited to the pages an editor may edit.
- Email notification about new Pingbacks with a link into the module.
- Content elements "Pingbacks of this page" (with pagination) and "Latest Pingbacks" of the site, cached with the page.
- Dashboard widget with the newest Pingbacks and their websites.
- Site set with site settings: everything is configured per site in the backend, no TypoScript constants or extension settings needed.
Planned after 1.0.0
- Integration with EXT:news and EXT:blog.
- Advanced spam filters.
Quick Start
-
Install the extension:
composer require webicorns/pongback
-
Add the site set "Pongback: Pingback endpoint and plugins" (
webicorns/pongback) to your site configuration. It provides the TypoScript, the route enhancer forpingback.pingand the site settings. Sites without the set get no Pingback features.In TYPO3 v13 the route enhancer is added to all sites by the extension setting
includePongbackYaml(enabled by default), as v13 does not support route enhancers in site sets. -
Adjust the settings per site in Site Management > Settings > Pongback:
Setting Default pongback.discovery.httpHeadertruepongback.discovery.metaTagtruepongback.receive.autoPublishfalse(moderation)pongback.receive.rateLimit(per IP and hour,0= off)20pongback.receive.webmentiontruepongback.send.enabledtruepongback.send.webmention(prefer Webmention)truepongback.send.tablespages, tt_contentpongback.notification.emailTo/emailFromempty plugin.tx_pongback.view.*RootPathextension paths plugin.tx_pongback.persistence.storagePid0 -
To send Pingbacks and Webmentions and to verify received Webmentions, run the message queue worker regularly, e.g. by cron:
# crontab of the web server user, e.g. sudo crontab -u www-data -e */5 * * * * /usr/bin/php /var/www/example.com/vendor/bin/typo3 messenger:consume doctrine --time-limit=240 --quiet
Without the worker nothing is sent. Alternatives (TYPO3 scheduler, supervisor/systemd) and how to check it: see the manual, chapter "Sending Pingbacks", section "Run the worker".
For developers
Reacting to incoming Pingbacks
Webicorns\Pongback\Event\BeforePingbackCreateEvent is dispatched after a
Pingback has been verified and before it is stored. Listeners can change the
record or reject the Pingback; the reason is sent back to the remote site:
use TYPO3\CMS\Core\Attribute\AsEventListener; use Webicorns\Pongback\Event\BeforePingbackCreateEvent; use Webicorns\Pongback\Mention\RejectionReason; #[AsEventListener] final class BlockSpamDomains { public function __invoke(BeforePingbackCreateEvent $event): void { if (str_contains($event->getMention()->source, 'spam.example')) { $event->reject(RejectionReason::AccessDenied, 'Not accepted.'); } } }
AfterPingbackCreatedEvent is dispatched after a Pingback has been stored;
the email notification is a listener of it.
Quality
Every change is checked in CI against TYPO3 13 and 14 with PHP 8.2 to 8.4: coding guidelines, Rector, PHPStan, unit tests, functional tests (SQLite) and mutation testing with Infection (at least 90 % covered MSI).
Contributing
See CONTRIBUTING.md for coding standards, commit message format and quality checks, and AGENTS.md for AI coding agents.