PHPackages                             n3xt0r/wp-xpub - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. n3xt0r/wp-xpub

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

n3xt0r/wp-xpub
==============

Flexible Multi-Channel Auto Publisher for WordPress

1.6.2(11mo ago)00[1 issues](https://github.com/N3XT0R/WP-XPub/issues)[6 PRs](https://github.com/N3XT0R/WP-XPub/pulls)MITPHPPHP ^8.2CI passing

Since Jul 28Pushed 5mo agoCompare

[ Source](https://github.com/N3XT0R/WP-XPub)[ Packagist](https://packagist.org/packages/n3xt0r/wp-xpub)[ RSS](/packages/n3xt0r-wp-xpub/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (6)Versions (22)Used By (0)

WP-XPub
=======

[](#wp-xpub)

[![CI](https://github.com/N3XT0R/wp-xpub/actions/workflows/ci.yml/badge.svg)](https://github.com/N3XT0R/wp-xpub/actions/workflows/ci.yml)[![Latest Stable Version](https://camo.githubusercontent.com/3c99799761a427651b30797847c8eaa264ac8889df3d86a26b64082f0172cdd0/68747470733a2f2f706f7365722e707567782e6f72672f6e33787430722f77702d787075622f762f737461626c65)](https://packagist.org/packages/n3xt0r/wp-xpub)[![Code Coverage](https://camo.githubusercontent.com/a58a7f5a692f4c14bc54edfca183b644a1b84e43610908f75a781cbcf36aa9e3/68747470733a2f2f716c74792e73682f67682f4e33585430522f70726f6a656374732f57502d585075622f636f7665726167652e737667)](https://qlty.sh/gh/N3XT0R/projects/WP-XPub)[![Maintainability](https://camo.githubusercontent.com/383d05f0214109090f16a52cc5a8d0e5d536598e267eeb099f5539886b8b30cd/68747470733a2f2f716c74792e73682f67682f4e33585430522f70726f6a656374732f57502d585075622f6d61696e7461696e6162696c6974792e737667)](https://qlty.sh/gh/N3XT0R/projects/WP-XPub)

**Flexible Multi-Channel Auto Publisher for WordPress**Publish your blog posts to Dev.to or any custom target – automatically and without writing a single line of code.

---

✨ What is WP-XPub?
------------------

[](#-what-is-wp-xpub)

**WP-XPub** is a lightweight, ready-to-use WordPress plugin that lets you automatically share your posts to multiple external platforms – either instantly or via scheduled jobs.

✅ **No technical knowledge needed** – just install, activate, connect your accounts and you're done.
🛠️ **Developers welcome** – WP-XPub is modular, PSR-compliant, and follows a clean hexagonal architecture.

---

🚀 Features
----------

[](#-features)

- 🔁 Auto-publish WordPress posts to external platforms
- 🔌 Built-in Dev.to, Mastodon and linkedIn driver – extendable via plugin drivers
- 🧩 Modular client driver system (easily extend to new platforms)
- ⏱️ Publish immediately or schedule for later
- 🧵 Custom pre- and post-publish hooks
- 📦 Composer-ready (PSR-4 autoloading, modern structure)
- ⚛️ React-based admin interface bundled with Vite for fast builds
- 🐘 Local logging via Monolog – no external tracking or APIs
- 🔄 GitHub update integration with custom updater hooks

---

📦 Installation
--------------

[](#-installation)

1. Clone or download the plugin into your `wp-content/plugins` directory.
2. Activate it via the WordPress admin panel.
3. Go to **Settings &gt; XPUB** and connect your desired platforms.

or

```
composer require n3xt0r/wp-xpub
```

If you're using [Bedrock](https://roots.io/bedrock/) or similar Composer-managed WP setups, you're ready to go.

📄 See the full [installation guide](docs/installation.md) for details.

> ⚠️ **Note:** WP-XPub is *not* listed on the official WordPress Plugin Directory.
> This is by design: WordPress.org enforces legacy coding patterns that conflict with modern PSR standards and clean architecture.
> WP-XPub prioritizes maintainability and extensibility over legacy compatibility.
>
> 🛠️ **Why this deviation?**
> WP-XPub follows a hexagonal (ports &amp; adapters) architecture to enforce separation of concerns, testability, and long-term maintainability.
> The WordPress Plugin Directory imposes structural constraints that prevent clean software design, including:
>
> - Reliance on `functions.php` and global functions instead of DI and modular bootstrapping
> - Static hook registration without lifecycle encapsulation
> - No support for PSR-4, namespaces, or autoloading
> - **A legacy translation system** (`gettext`) that requires **literal strings** for all translatable text – making dynamic or domain-driven I18n impossible
> - No support for application-layer abstractions (e.g. service containers, middleware, or event buses)
>
> ❌ These constraints hinder composability, reusability, and testability.
>
> ✅ WP-XPub deliberately separates domain logic, infrastructure, and framework adapters – allowing modern PHP practices like:
>
> - **Constructor-based dependency injection**
> - **PSR-compliant, autoloaded class structure**
> - **Dynamic, context-aware translations via service-based I18n**
> - **Full test coverage of application and domain code – independent from WordPress internals**
>
> WP-XPub is designed for developers who want to **integrate WordPress without being constrained by it**.

---

✅ Requirements
--------------

[](#-requirements)

- PHP 8.2+
- WordPress 6.0+ (tested with 6.8.2)
- Composer (optional, for development or extensions)

---

🧠 For Developers
----------------

[](#-for-developers)

WP-XPub is built with a clear separation of concerns and is easy to extend:

- 🧱 Hexagonal architecture (Ports &amp; Adapters)
- 🧩 Create your own publisher drivers with minimal boilerplate
- 📦 Fully PSR-4 compliant, Composer-ready
- 🧪 CI integration and code coverage metrics
- 🐘 Monolog-based logging system
- 🔄 GitHub update workflow with changelog diffing

See the [developer docs](docs/index.md) for more:

- [Creating Custom Publishers](docs/creating-publishers.md)
- [Architecture Overview](docs/architecture.md)
- [Hooks &amp; Filters](docs/hooks.md)
- [Translations](docs/translations.md)
- [Development Guide](docs/development.md)

---

📚 Full Documentation
--------------------

[](#-full-documentation)

All documentation is available in the `docs/` folder:

- [Overview &amp; Index](docs/index.md)
- [Installation](docs/installation.md)
- [Update](docs/update.md)
- [Creating Publishers](docs/creating-publishers.md)
- [Architecture](docs/architecture.md)
- [Hooks &amp; Filters](docs/hooks.md)
- [Languages](docs/translations.md)
- [Development Guide](docs/development.md)

---

📃 License
---------

[](#-license)

[MIT License](LICENSE)

---

💬 Credits
---------

[](#-credits)

Made with ❤️ by [@N3XT0R](https://github.com/n3xt0r) – Contributions welcome!

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance63

Regular maintenance activity

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 99.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

12

Last Release

332d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8dbd2b0984ee6f62b6c5c3356b0e0cff2f2afa5c98c4d05272eb4356e080d545?d=identicon)[N3XT0R](/maintainers/N3XT0R)

---

Top Contributors

[![N3XT0R](https://avatars.githubusercontent.com/u/1297846?v=4)](https://github.com/N3XT0R "N3XT0R (525 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

automated-updatesclean-architecturecronjob-schedulerdevtomodularwordpress

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/n3xt0r-wp-xpub/health.svg)

```
[![Health](https://phpackages.com/badges/n3xt0r-wp-xpub/health.svg)](https://phpackages.com/packages/n3xt0r-wp-xpub)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[azuracast/azuracast

The AzuraCast self-hosted web radio station management suite.

3.9k27.8k](/packages/azuracast-azuracast)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k16.4k79](/packages/elgg-elgg)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
