benjam1/wordpress-sdk

Wordpress XML-RPC client

dev-master / 1.0.x-dev 2014-05-09 17:12 UTC

This package is auto-updated.

Last update: 2024-10-19 02:31:58 UTC


README

Build Status Latest Stable Version Total Downloads Latest Unstable Version License Scrutinizer Code Quality

Wordpress WML-RPC API sdk written in PHP

Installation

Install Wordpress-SDK through composer

$> composer require benjam1/wordpress-sdk

Usage

<?php

require_once __DIR__.'/vendor/autoload.php';

$wordpress = new \BenjaM1\Wordpress\Wordpress('http://www.theodo.fr/blog/xmlrpc.php');
$wordpress->connect('username', 'password');
$wordpress->getUsers();

Testing

$> composer install --dev
$> ./vendor/bin/phpspec run