Download the PHP package kodhe/xmlrpcs without Composer

On this page you can find all versions of the php package kodhe/xmlrpcs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package xmlrpcs

Kodhe XML-RPC (Server)

Library pembuat server XML-RPC hasil refaktor Xmlrpcs CodeIgniter 3 (namespace Kodhe\Framework\Xmlrpcs). Extend package kodhe/xmlrpc (kelas klien Xmlrpc) — jadi satu-satunya dependensi internal. Cocok untuk mengekspos API RPC: daftar method, introspeksi (system.*), dan multiCall.

Instalasi

Persyaratan: PHP >= 8.1, extension xml; kelas Xmlrpc harus termuat sebelum Xmlrpcs (dijamin oleh autoload composer).

Quick Start

Struktur Direktori

Penggunaan

1. Mendefinisikan method lewat array config

Format tiap entri persis seperti $config['webservices'] CI3:

Atau set massal setelah konstruksi:

2. Menambah method satu per satu

3. Method callback & objek request

Fungsi callback menerima satu argumen objek request ter-dekode:

4. Sistem introspeksi bawaan

Secara default server mendaftarkan system.*:

Klien bisa memanggil:

5. Validasi request manual

6. Integrasi sebagai controller CI3-style

Referensi API (Xmlrpcs)

Method Keterangan
__construct(array $config) Inisialisasi + daftarkan peta method
initialize($config) Set ulang konfigurasi
serve() Proses request masuk (STDIN POST) → keluar respons XML
add_to_map($method, $function, $sig, $doc) Daftarkan satu method
set_methods(array $methods) Ganti seluruh peta method
set_system_methods() Aktifkan system.* (listMethods, methodSignature, methodHelp, multicall)
verify_request(string $data) Cek validitas XML request
parseRequest($data) Dekode body menjadi objek request
listMethods($m) / methodSignature($m) / methodHelp($m) / multicall($m) Handler system.*

Kompatibilitas CodeIgniter 3

Perilaku dispatch, format signature, fault code, dan method system.* sama dengan CI_Xmlrpcs. Perbedaan hanya namespace/nama kelas (Xmlrpcs, extend Kodhe\Framework\Xmlrpc\Xmlrpc).

Catatan

Pengujian


All versions of xmlrpcs with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kodhe/xmlrpcs contains the following files

Loading the files please wait ...