darkaonline/ripcord

RPC client and server around PHP's xmlrpc library

Fund package maintenance!
DarkaOnLine

v0.2 2022-10-25 05:10 UTC

This package is auto-updated.

Last update: 2024-04-25 08:21:34 UTC


README

Total Downloads GuitHub Sponsor

Ripcord - XML RPC client and server for PHP

This packages is a copy of https://code.google.com/p/ripcord/.

Installation

    composer require darkaonline/ripcord

Requirements

Requires the PHP extension XML-RPC.

For Laravel Users

  • Open your AppServiceProvider (located in app/Providers) and add this line in register function
    $this->app->register(\Ripcord\Providers\Laravel\ServiceProvider::class);
  • Run ripcord:publish to publish configs (config/ripcord.php) or just copy ripcord.php file from vendor/darkaonline/ripcord/src/Ripcord/Prividers/Laravel/config and paste to config folder

Extending

Just extend Ripcord class and all your coinfg and basic connection will be done for you automaticly

  namespace Foo\Bar;
  
  use Ripcord\Providers\Laravel\Ripcord;
  
  class Provider extends Ripcord
  {
    ...
  }

Support

GuitHub Sponsor