PHPackages                             a4x/laravel-wordpress - 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. a4x/laravel-wordpress

ActiveLibrary

a4x/laravel-wordpress
=====================

A one-class package that locally caches your Wordpress posts as a Laravel collection

0.0.9-beta(9y ago)1291MITPHPPHP &gt;=5.3.0

Since Mar 6Pushed 9y ago1 watchersCompare

[ Source](https://github.com/a4x/laravel-wordpress)[ Packagist](https://packagist.org/packages/a4x/laravel-wordpress)[ Docs](https://github.com/a4x/laravel-wordpress)[ RSS](/packages/a4x-laravel-wordpress/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (10)Used By (0)

Laravel-Wordpress
=================

[](#laravel-wordpress)

This library wraps your blog posts into a Laravel collection.

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

[](#installation)

```
composer require "a4x/laravel-wordpress:0.0.1-beta"
```

Once this has finished, you will need to add the service provider to the `providers` array in your `app.php` config as follows:

```
'A440\Wordpress\WordpressServiceProvider'
```

Finally, you will want to publish the config using the following command:

```
php artisan vendor:publish --provider="A440\Wordpress\WordpressServiceProvider"
```

Then, update your `config/wordpress.php` file with your Wordpress installation URL or IP.

And you're done!

Basic Usage
-----------

[](#basic-usage)

```
