therour/wp-api-client

Wordpress REST Api Laravel client

v0.1 2019-11-16 16:05 UTC

This package is auto-updated.

Last update: 2024-04-17 01:53:57 UTC


README

Installation

composer require therour/wp-api-client

Configuration

set your wordpress rest url in the .env

WORDPRESS_REST_URL=http://example.com/wp-json

Usage

use Therour\WpApi\Client\Models\WpPost;

$posts = WpPost::get();