PHPackages                             apsg/wordpressor - 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. apsg/wordpressor

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

apsg/wordpressor
================

Wordpress accessor for Laravel

0.2.0(5y ago)162MITPHPPHP ^7.4|^8.0

Since Mar 26Pushed 5y ago2 watchersCompare

[ Source](https://github.com/apsg/wordpressor)[ Packagist](https://packagist.org/packages/apsg/wordpressor)[ Docs](https://github.com/apsg/wordpressor)[ GitHub Sponsors](https://github.com/apsg)[ RSS](/packages/apsg-wordpressor/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (9)Versions (3)Used By (0)

Wordpressor - wordpress data accessor for PHP/Laravel
=====================================================

[](#wordpressor---wordpress-data-accessor-for-phplaravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e4c6c7fa175a4abef0e251a9e8cd58f96ce9ac9776e358623036b28923a61224/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617073672f776f726470726573736f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/apsg/wordpressor)[![GitHub Tests Action Status](https://camo.githubusercontent.com/764c5580b868198210ce4b04210f956922098434cb4b8bf9b2bfd1e75f45751f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f617073672f776f726470726573736f722f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/apsg/wordpressor/actions?query=workflow%3ATests+branch%3Amaster)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/8bc19833dc0e67b5efd5bfebc7024f750d67906df7fb671abc3ef46b623caa76/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f617073672f776f726470726573736f722f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/apsg/wordpressor/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/de616504d517d69a2a5f13a5515867ad7afa668304445d5f8bc93bccc26d07bd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617073672f776f726470726573736f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/apsg/wordpressor)

Simple Wordpress accessor for PHP/Laravel projects. Now one can use Wordpress as CMS for Laravel application.

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

[](#installation)

You can install the package via composer:

```
composer require apsg/wordpressor
```

You can publish the config file with:

```
php artisan vendor:publish --tag=wordpressor-config
```

This is the contents of the published config file:

```
return [
    'url'   => env('WORDPRESS_URL'),
    'cache' => true,
];
```

Usage
-----

[](#usage)

```
$posts = (new Wordpressor)
            ->posts()
            ->take(3)
            ->getTransformed();

 $image = (new Wordpressor())
            ->media()
            ->get($mediumId);
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Szymon Gackowski](https://github.com/apsg)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

1879d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e36c1cb8ed85fdfb1c40d47597ad48efeb1858f76edc205481409cc0d539644c?d=identicon)[Gacek](/maintainers/Gacek)

---

Top Contributors

[![apsg](https://avatars.githubusercontent.com/u/3952574?v=4)](https://github.com/apsg "apsg (24 commits)")

---

Tags

apsgwordpressor

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/apsg-wordpressor/health.svg)

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

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.8k28.9M627](/packages/spatie-laravel-data)[maestroerror/laragent

Power of AI Agents in your Laravel project

630106.4k](/packages/maestroerror-laragent)[nativephp/mobile

NativePHP for Mobile

82724.0k43](/packages/nativephp-mobile)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[spatie/laravel-rdap

Perform RDAP queries in a Laravel app

72108.3k2](/packages/spatie-laravel-rdap)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)

PHPackages © 2026

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