PHPackages                             skywire/wordpressapi - 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. skywire/wordpressapi

ActiveMagento2-module

skywire/wordpressapi
====================

Wordpress integration

3.1.4(1y ago)37131[3 issues](https://github.com/Skywire/m2-module-wordpress-api/issues)[3 PRs](https://github.com/Skywire/m2-module-wordpress-api/pulls)OSL-3.0PHPPHP ^7.0|^7.1|^7.2|^7.3|^7.4|^8

Since Jan 5Pushed 1y ago5 watchersCompare

[ Source](https://github.com/Skywire/m2-module-wordpress-api)[ Packagist](https://packagist.org/packages/skywire/wordpressapi)[ RSS](/packages/skywire-wordpressapi/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (3)Versions (57)Used By (0)

[![Magento 2 Tests](https://github.com/Skywire/m2-module-wordpress-api/workflows/Magento%202%20Tests/badge.svg)](https://github.com/Skywire/m2-module-wordpress-api/workflows/Magento%202%20Tests/badge.svg)[![Coverage Status](https://camo.githubusercontent.com/4d292d886b188f4aac27b78e95cf63b4e495b9105557d362be4cd43c19015b5b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f536b79776972652f6d322d6d6f64756c652d776f726470726573732d6170692f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/Skywire/m2-module-wordpress-api?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/d91e1eff5a23eccd7afd29924485c6e043d48db551847b4b97fc7e0399027d1f/68747470733a2f2f706f7365722e707567782e6f72672f736b79776972652f776f726470726573736170692f762f737461626c65)](https://packagist.org/packages/skywire/wordpressapi)[![Total Downloads](https://camo.githubusercontent.com/48bd1445b410dd99cc8a7edff70bac874c775195e1ab22bcff7cfdb2d9883cee/68747470733a2f2f706f7365722e707567782e6f72672f736b79776972652f776f726470726573736170692f646f776e6c6f616473)](https://packagist.org/packages/skywire/wordpressapi)

Skywire Magento 2 Wordpress API

Wordpress API integration for M2

Installation
------------

[](#installation)

Install via composer

`composer require skywire/wordpressapi`

Admin Configuration
-------------------

[](#admin-configuration)

Configure the base URL of the Wordpress instance, this should be on a unique URL or subdomain, subdirectories are not explicitly supported but may work depending on your web server config.

Configure the WP API path, the default for this is `/wp-json/wp/v2` and should not need to be changed.

It is possible to password protect the wordpress install with HTTP Basic auth, if this is the case configure the username and password so that Magento can access the API.

Usage
-----

[](#usage)

A custom router will kick in before a 404 and check if the page slug exists in wordpress as a page, post or category.

If a match is found the wordpress content will be rendered inside a Magento template.

Layouts are controlled by standard layout XML.

Siblings
--------

[](#siblings)

There is an additional sibling block which is added to post pages by default, this will show other posts from the same category as the post you are currently viewing

The number of sibling posts can be modified via the layout.

Advanced Custom Fields
----------------------

[](#advanced-custom-fields)

 is nearly always installed on the WordPress instance but the fields added do not automatically appear in the WP API.

To add them to the API data install

This data can then be used in your post templates .phtml file via `$post->getAcf('footer_call_to_action_link')`

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance12

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 58.3% 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 ~45 days

Recently: every ~165 days

Total

53

Last Release

682d ago

Major Versions

0.2.6 → 1.1.02018-09-13

1.15.1 → 2.0.02022-02-16

2.0.1 → 3.0.02022-09-09

PHP version history (5 changes)0.1.0PHP ~7.0.0|~7.1.0

1.5.0PHP ^7.0|^7.1|^7.2

1.13.0PHP ^7.0|^7.1|^7.2|^7.3

2.0.0PHP ^7.0|^7.1|^7.2|^7.3|^7.4

3.0.0PHP ^7.0|^7.1|^7.2|^7.3|^7.4|^8

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1172463?v=4)[Skywire](/maintainers/skywire)[@Skywire](https://github.com/Skywire)

---

Top Contributors

[![Demoli](https://avatars.githubusercontent.com/u/1056237?v=4)](https://github.com/Demoli "Demoli (60 commits)")[![valguss](https://avatars.githubusercontent.com/u/105925?v=4)](https://github.com/valguss "valguss (34 commits)")[![nehal83](https://avatars.githubusercontent.com/u/1192260?v=4)](https://github.com/nehal83 "nehal83 (7 commits)")[![davidalexander](https://avatars.githubusercontent.com/u/55093?v=4)](https://github.com/davidalexander "davidalexander (2 commits)")

---

Tags

magento2-modulewordpress

### Embed Badge

![Health badge](/badges/skywire-wordpressapi/health.svg)

```
[![Health](https://phpackages.com/badges/skywire-wordpressapi/health.svg)](https://phpackages.com/packages/skywire-wordpressapi)
```

###  Alternatives

[magento/community-edition

Magento 2 (Open Source)

12.1k52.1k10](/packages/magento-community-edition)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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