DEV Community

Ilya Beliaev
Ilya Beliaev

Posted on

🚀 WP-XPub v1.0.0 – A Clean Architecture Approach to Multi-Channel Publishing in WordPress

We’re proud to release WP-XPub v1.0.0, a modern, maintainable WordPress plugin designed for structured multi-channel publishing — built from the ground up with hexagonal architecture, PSR standards, and clean separation of concerns.


🎯 What is WP-XPub?

WP-XPub is a flexible auto-publisher framework for WordPress that allows you to push content to multiple external platforms (e.g., Mastodon, LinkedIn, custom APIs) from within your WordPress environment. It’s not another social media plugin — it’s a system designed for:

  • High modularity
  • Testability and long-term maintainability
  • Minimal WordPress coupling
  • Extensible publisher definitions

💡 Why Not in the WordPress Plugin Directory?

⚠️ WP-XPub is not listed on WordPress.org — and that’s by design.

The WordPress plugin directory enforces legacy practices that actively hinder modern software architecture. This includes:

  • Tight coupling through functions.php
  • Global procedural design
  • Prohibition of namespaced class autoloading (e.g., via Composer)
  • Literal-only i18n strings, which break abstraction and prevent layered translation systems
  • Constraints that prevent effective testing or mocking

We respect the ecosystem — but we choose to build for developers who care about code quality, clarity, and architecture first.


✅ What's in v1.0.0?

  • ✔️ Multi-publisher architecture using filter-dispatched factories
  • ✔️ Admin UI to activate publishers and set platform-specific configuration
  • ✔️ Publisher abstraction that allows easy integration of 3rd-party APIs
  • ✔️ Automatic trigger on post publication (post_status = publish)
  • ✔️ Fully PSR-compliant code (PSR-1, PSR-4, PSR-12)
  • ✔️ Composer-powered structure — no function clutter, no legacy globals
  • ✔️ Support for modern PHP (8.2+) and WordPress 6.x

👉 See the full source and installation instructions on GitHub

Top comments (0)