Download the PHP package mszewcz/php-json-rpc without Composer

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

mszewcz/php-json-rpc

PHP 7.1+ implementation of JSON RPC 2.0. Client and server libraries can handle regular requests, notifications. Batch requests are supported. Server supports namespaces and self-description (automatically provides input and output schema for each method in each namespace - please refer to Wiki). Client is able to send requests using stream context, cURL extension or by user defined transport class.

Build Status Codacy Badge Codacy Badge

Contents

What is JSON RPC?

JSON RPC is a simple and light weight communication protocol that allows clients and servers talk to each other. Version 2.0, which is implemented by this library, is described here. Please take a while to read this, to understand request and response formats as well as some server-regarded rules.

Installation

If you use Composer to manage the dependencies simply add a dependency on to your project's composer.json file. Here is a minimal example of a composer.json:

You can also clone or download this respository.

php-json-rpc meets PSR-4 autoloading standards. If using the Composer please include its autoloader file:

If you cloned or downloaded this repository, you will have to code your own PSR-4 style autoloader implementation.

Usage

Please refer to project Wiki:

You may also want to check directory.

Contributing

Contributions are welcome. Please send your contributions through GitHub pull requests

Pull requests for bug fixes must be based on latest stable release from the branch whereas pull requests for new features must be based on the branch.

Due to time constraints, I am not always able to respond as quickly as I would like. If you feel you're waiting too long for merging your pull request please remind me here.

Coding standards

I follow PSR-2 coding style and PSR-4 autoloading standards. Be sure you're also following them before sending us your pull request.

License

php-json-rpc is licensed under the MIT License - see the file for details.


All versions of php-json-rpc with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
mszewcz/php-json-utils Version >=1.0
mszewcz/php-json-schema-validator Version >=1.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 mszewcz/php-json-rpc contains the following files

Loading the files please wait ....