Download the PHP package ufo-tech/json-rpc-client-sdk without Composer

On this page you can find all versions of the php package ufo-tech/json-rpc-client-sdk. 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 json-rpc-client-sdk

json-rpc-client-sdk

Ukraine

Simple clientSDK builder for any json-RPC servers

License Size package_version fork

See the Documentations

New in version 5.0

🔌 Extensible asynchronous transports

⚙️ Request configuration

🔄 Breaking changes

New in version 4.4

⚙️ Automatic runtime initialization

New in version 4.3

🔧 SDK generation fixes

Regenerate your SDK to apply these generation fixes.

⚙️ Generator startup

📦 Dependencies and packaging

If your application uses the DTO Transformer API directly, check its compatibility with version 3 when upgrading.

New in version 4.2

⚙️ Service parameters for UFO-json-rpc servers

Support for service-level RPC parameters has been added for servers implemented with UFO-json-rpc.

The SDK now allows request configuration via a fluent chain, without changing method signatures.

🔹 Basic call (as before)

🔹 Cache control

🔹 Passing service metadata

🔹 Async-specific parameters

For async procedures, additional execution control options are available:

📌 Notes

New in version 4.1

🔍 Filtering methods during SDK generation

The SDK supports skipping RPC methods during generation.
This is done using the ignoredMethods option, which accepts a list of masks.

📌 Mask Rules

✔️ Example masks

Mask Description
AdminApi.* ignores all methods of AdminApi class
Command.run ignores only Command.run
#Command.run ignores only Command.run in sync API
*.delete ignores all delete() methods in any class
!~Comment.delete *always generates Comment.delete for async API even if `.delete` blocks it**
*.*Test ignores all methods ending with Test

🚫 Prohibited

Mask Reason
User.?pdate ? is not supported
~&User.update ~ and & in one mask is not supported
[A-Z]*.create regex is not supported

📎 Usage Example

Masks allow you to easily remove service procedures, test methods, and unwanted CRUD operations from SDK generation.

Generate SDK

Run cli command

Or

Use SDK

This example shows working with the generated SDK. IMPORTANT: You may have other procedure classes. The example only shows the concept of interaction.

Debug request and response

Profit


All versions of json-rpc-client-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4
ext-readline Version *
ext-intl Version *
symfony/filesystem Version ^7.2|^8.0
symfony/cache Version ^7.2|^8.0
symfony/maker-bundle Version ^1.48
symfony/http-client Version ^7.2|^8.0
ufo-tech/rpc-objects Version ^3.9
ufo-tech/dto-transformer Version ^3.1
ufo-tech/rpc-exceptions Version ^2
ufo-tech/component-transport-contracts Version ^1
ufo-cms/colored_cli Version ^1.0
symfony/validator Version ^7.2|^8.0
symfony/serializer Version ^7.2|^8.0
symfony/yaml Version ^7.1|^8.0
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 ufo-tech/json-rpc-client-sdk contains the following files

Loading the files please wait ...