Skip to content

ogg1980/xmlrpc-laravel-package

 
 

Repository files navigation

xmlrpc-laravel-package

Package to use xmlrpc (wordpress posts) with laravel 4

Installation:

Add to your composer.json:

"martinmarianetti/xml-rpc": "dev-master"

Add this to your config/app.php file:

'providers' => array(
    ....
    'Martinmarianetti\XmlRpc\XmlRpcServiceProvider',
),

Run this command:

composer update

Example usage:

$xmlrpc = new Xmlrpc;
$xmlrpc::configure($url . "xmlrpc.php", $username, $password);
$xmlrpc::create_post(utf8_encode($ttitle), utf8_encode($body), $imagePath, $category, utf8_encode($t));

Note: Not all functions documented.

You can look at the code for more functions or add yours!!

About

Package to use xmlrpc (wordpress posts) with laravel 4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%