Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
A very simple XML-RPC library (client + server) written in PHP
License
fpoirotte/XRL
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.rst
A simple XML-RPC client and server written in PHP
XRL provides the following features:
- Simple servers, using either the property operator -> or array accessors [] to provide methods.
- Simple clients, using the regular method call syntax $client->procedure(42) to call a procedure provided by the remote XML-RPC server.
- Intuitive XML-RPC calls, with automatic type conversion between PHP types and their XML-RPC counterparts.
- Optional validation of XML-RPC messages (both requests and responses).
- Two XML output formats (compact or indented), making it easy to debug potential issues.
- Many different types of installations are possible (sorted from easiest to most complex):
- Using a PHAR archive
- Using composer
- From sources
Several types of installations are possible:
- Using a .phar archive: Download the PHAR archive for the latest release from https://github.com/fpoirotte/XRL/releases/latest
- Using composer:
$ php composer.phar require fpoirotte/xrl
$ git clone -b master git://github.com/fpoirotte/XRL.git
$ wget --content-disposition https://github.com/fpoirotte/XRL/tarball/master
$ wget --content-disposition https://github.com/fpoirotte/XRL/zipball/master
$ git clone -b develop git://github.com/fpoirotte/XRL.git
$ wget --content-disposition https://github.com/fpoirotte/XRL/tarball/develop
$ wget --content-disposition https://github.com/fpoirotte/XRL/zipball/develop
Client: look at the code in client.php.
Server: look at the code in server.php.
If you want to contribute to this project:
Please read the section on copyright attribution and licensing below carefully before sending your pull request.
XRL is released under the 3-clause BSD License. An online copy of the license is available at https://raw.github.com/fpoirotte/XRL/develop/LICENSE.
We ask contributors to assign the copyright in their contributions to the collective name «XRL Team».
To make things easier, we also ask that you keep the same license in your contributions as the global one if possible (3-clause BSD License).
The copyright and licensing information should be reproduced at the top of every file. A template is given below for PHP files. For other types of files (RelaxNG schemae, reStructuredText pages, etc.), adapt the template to fit that file’s particular syntax requirements.
Since we want to retain credit for contributors where it’s due, feel free to add a Doxygen \authors command with your name and email in every class where you made significant changes.
Example template (taken from XRL’s autoloader) for PHP files containing both copyright information, licensing information and contributor credits:
/* * This file is part of XRL, a simple XML-RPC Library for PHP. * * Copyright (c) 2012, XRL Team. All rights reserved. * XRL is licensed under the 3-clause BSD License. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace fpoirotte\XRL; /** * \brief * An helper class that wraps XRL's autoloader. * * \authors John Doe * \authors Jane Doe */ class Autoload < // Some code here. >
About
A very simple XML-RPC library (client + server) written in PHP