benjam1 / wordpress-sdk
Wordpress XML-RPC client
Installs: 2 731
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 1
Requires
- kriswallsmith/buzz: dev-master
- lstrojny/fxmlrpc: dev-master
Requires (Dev)
- phpspec/phpspec: 2.0.*@dev
This package is auto-updated.
Last update: 2024-11-19 02:44:16 UTC
README
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